FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
IS_PLAYER_BATTLE_AWARE
(Player player)
IS_PLAYER_BEING_ARRESTED
(Player player, BOOL atArresting)
IS_PLAYER_BLUETOOTH_ENABLE
(Player player)
_IS_PLAYER_CAM_CONTROL_DISABLED
()
IS_PLAYER_CLIMBING
(Player player)
IS_PLAYER_CONTROL_ON
(Player player)
IS_PLAYER_DEAD
(Player player)
_IS_PLAYER_DRIVING_DANGEROUSLY
(Player player, int type)
IS_PLAYER_FREE_AIMING
(Player player)
IS_PLAYER_FREE_AIMING_AT_ENTITY
(Player player, Entity entity)
IS_PLAYER_FREE_FOR_AMBIENT_TASK
(Player player)
IS_PLAYER_LOGGING_IN_NP
()
IS_PLAYER_ONLINE
()
IS_PLAYER_PLAYING
(Player player)
IS_PLAYER_PRESSING_HORN
(Player player)