PlayerData
FivePD.API.Utils
#
Namespace: Source/Utils/PlayerData.cs
#
File: You can retrieve information about the local player by calling the GetPlayerData()
method, which will return a PlayerData object with the proper values.
#
Fields#
DisplayName (deprecated)Deprecation Warning
This field is not being set anymore. You should get the in-game name of the player instead.
The display name of the local player.
#
DepartmentType:stringThe name of the player's department.
#
DepartmentShortNameType:stringThe short name of the player's department.
#
DepartmentIDType:intThe ID of the player's department.
#
RankType:stringThe name of the player's rank.
#
CallsignType:stringThe callsign of the player.
#
UsagePlayerData playerData = GetPlayerData();