FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
_HAS_PLAYER_BEEN_SHOT_BY_COP
(Player player, int ms, BOOL p2)
HAS_PLAYER_BEEN_SPOTTED_IN_STOLEN_VEHICLE
(Player player)
HAS_PLAYER_DAMAGED_AT_LEAST_ONE_NON_ANIMAL_PED
(Player player)
HAS_PLAYER_DAMAGED_AT_LEAST_ONE_PED
(Player player)
HAS_PLAYER_LEFT_THE_WORLD
(Player player)
INT_TO_PARTICIPANTINDEX
(int value)
INT_TO_PLAYERINDEX
(int value)