FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_NUM_PLAYER_IDENTIFIERS
(char* playerSrc)
GET_NUM_PLAYER_INDICES
()
GET_NUM_PLAYER_TOKENS
(char* playerSrc)
GET_NUM_RESOURCE_METADATA
(char* resourceName, char* metadataKey)
GET_NUM_RESOURCES
()
GET_PARKED_VEHICLE_DENSITY_MULTIPLIER
()
GET_PASSWORD_HASH
(char* password)
GET_PED_ARMOUR
(Ped ped)
GET_PED_CAUSE_OF_DEATH
(Ped ped)
GET_PED_DENSITY_MULTIPLIER
()
GET_PED_DESIRED_HEADING
(Ped ped)
GET_PED_EYE_COLOR
(Ped ped)
GET_PED_FACE_FEATURE
(Ped ped, int index)
GET_PED_HAIR_COLOR
(Ped ped)
GET_PED_HAIR_HIGHLIGHT_COLOR
(Ped ped)
GET_PED_HEAD_OVERLAY_DATA
(Ped ped, int index, int* overlayValue, int* colourType, int* firstColour, int* secondColour, float* overlayOpacity)
GET_PED_MAX_HEALTH
(Ped ped)
GET_PLAYER_ENDPOINT
(char* playerSrc)
GET_PLAYER_FROM_INDEX
(int index)
GET_PLAYER_FROM_SERVER_ID
(int serverId)
GET_PLAYER_GUID
(char* playerSrc)
GET_PLAYER_IDENTIFIER
(char* playerSrc, int identifier)
GET_PLAYER_INVINCIBLE
(char* playerSrc)
GET_PLAYER_INVINCIBLE_2
(Player player)
GET_PLAYER_LAST_MSG
(char* playerSrc)
GET_PLAYER_MAX_ARMOUR
(char* playerSrc)
GET_PLAYER_MAX_HEALTH
(char* playerSrc)
GET_PLAYER_MELEE_WEAPON_DAMAGE_MODIFIER
(Player playerId)
GET_PLAYER_MELEE_WEAPON_DEFENSE_MODIFIER
(Player playerId)
GET_PLAYER_NAME
(char* playerSrc)
GET_PLAYER_PED
(char* playerSrc)
GET_PLAYER_PING
(char* playerSrc)
GET_PLAYER_ROUTING_BUCKET
(char* playerSrc)
GET_PLAYER_SERVER_ID
(Player player)
GET_PLAYER_TEAM
(char* playerSrc)