FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_PLAYER_IDENTIFIER_BY_TYPE
(char* playerSrc, char* identifierType)
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_MAX_STAMINA
(Player playerId)
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_STAMINA
(Player playerId)
GET_PLAYER_TEAM
(char* playerSrc)
GET_PLAYER_TIME_IN_PURSUIT
(char* playerSrc, BOOL lastPursuit)
GET_PLAYER_TOKEN
(char* playerSrc, int index)
GET_PLAYER_VEHICLE_DAMAGE_MODIFIER
(Player playerId)
GET_PLAYER_VEHICLE_DEFENSE_MODIFIER
(Player playerId)
GET_PLAYER_WANTED_CENTRE_POSITION
(char* playerSrc)
GET_PLAYER_WANTED_LEVEL
(char* playerSrc)
GET_PLAYER_WEAPON_DAMAGE_MODIFIER
(Player playerId)
GET_PLAYER_WEAPON_DEFENSE_MODIFIER
(Player playerId)
GET_PLAYER_WEAPON_DEFENSE_MODIFIER_2
(Player playerId)
GET_RANDOM_VEHICLE_DENSITY_MULTIPLIER
()
GET_REGISTERED_COMMANDS
()
GET_RESOURCE_BY_FIND_INDEX
(int findIndex)
GET_RESOURCE_KVP_FLOAT
(char* key)
GET_RESOURCE_KVP_INT
(char* key)
GET_RESOURCE_KVP_STRING
(char* key)
GET_RESOURCE_METADATA
(char* resourceName, char* metadataKey, int index)
GET_RESOURCE_PATH
(char* resourceName)
GET_RESOURCE_STATE
(char* resourceName)
GET_ROPE_FLAGS
(int rope)