FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_GET_PLAYER_HEALTH_RECHARGE_LIMIT
(Player player)
GET_PLAYER_INDEX
()
GET_PLAYER_INVINCIBLE
(Player player)
GET_PLAYER_MAX_ARMOUR
(Player player)
GET_PLAYER_NAME
(Player player)
_GET_PLAYER_PARACHUTE_MODEL_OVERRIDE
(Player player)
GET_PLAYER_PARACHUTE_PACK_TINT_INDEX
(Player player, int* tintIndex)
GET_PLAYER_PARACHUTE_SMOKE_TRAIL_COLOR
(Player player, int* r, int* g, int* b)
GET_PLAYER_PARACHUTE_TINT_INDEX
(Player player, int* tintIndex)
GET_PLAYER_PED
(Player playerId)
GET_PLAYER_PED_SCRIPT_INDEX
(Player player)
_GET_PLAYER_RESERVE_PARACHUTE_MODEL_OVERRIDE
(Player player)
GET_PLAYER_RESERVE_PARACHUTE_TINT_INDEX
(Player player, int* index)
GET_PLAYER_RGB_COLOUR
(Player player, int* r, int* g, int* b)
GET_PLAYER_SPRINT_STAMINA_REMAINING
(Player player)
GET_PLAYER_SPRINT_TIME_REMAINING
(Player player)
GET_PLAYER_TARGET_ENTITY
(Player player, Entity* entity)
GET_PLAYER_TEAM
(Player player)
GET_PLAYER_UNDERWATER_TIME_REMAINING
(Player player)
GET_PLAYER_WANTED_CENTRE_POSITION
(Player player)
GET_PLAYER_WANTED_LEVEL
(Player player)
GET_PLAYERS_LAST_VEHICLE
()
GET_TIME_SINCE_LAST_ARREST
()
GET_TIME_SINCE_LAST_DEATH
()
GET_TIME_SINCE_PLAYER_DROVE_AGAINST_TRAFFIC
(Player player)
GET_TIME_SINCE_PLAYER_DROVE_ON_PAVEMENT
(Player player)
GET_TIME_SINCE_PLAYER_HIT_PED
(Player player)
GET_TIME_SINCE_PLAYER_HIT_VEHICLE
(Player player)
_GET_WANTED_LEVEL_PAROLE_DURATION
()
GET_WANTED_LEVEL_RADIUS
(Player player)
GET_WANTED_LEVEL_THRESHOLD
(int wantedLevel)
GIVE_ACHIEVEMENT_TO_PLAYER
(int achievement)
GIVE_PLAYER_RAGDOLL_CONTROL
(Player player, BOOL toggle)
HAS_ACHIEVEMENT_BEEN_PASSED
(int achievement)
HAS_FORCE_CLEANUP_OCCURRED
(int cleanupFlags)