FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
IS_PLAYER_RIDING_TRAIN
(Player player)
IS_PLAYER_SCRIPT_CONTROL_ON
(Player player)
IS_PLAYER_TARGETTING_ANYTHING
(Player player)
IS_PLAYER_TARGETTING_ENTITY
(Player player, Entity entity)
IS_PLAYER_TELEPORT_ACTIVE
()
IS_PLAYER_WANTED_LEVEL_GREATER
(Player player, int wantedLevel)
IS_SPECIAL_ABILITY_ACTIVE
(Player player)
IS_SPECIAL_ABILITY_ENABLED
(Player player)
IS_SPECIAL_ABILITY_METER_FULL
(Player player)
IS_SPECIAL_ABILITY_UNLOCKED
(Hash playerModel)
IS_SYSTEM_UI_BEING_DISPLAYED
()
NETWORK_PLAYER_ID_TO_INT
()
PLAYER_ATTACH_VIRTUAL_BOUND
(float p0, float p1, float p2, float p3, float p4, float p5, float p6, float p7)
PLAYER_DETACH_VIRTUAL_BOUND
()
PLAYER_ID
()
PLAYER_PED_ID
()
REMOVE_PLAYER_HELMET
(Player player, BOOL p2)
REPORT_CRIME
(Player player, int crimeType, int wantedLvlThresh)
REPORT_POLICE_SPOTTED_PLAYER
(Player player)
RESET_PLAYER_ARREST_STATE
(Player player)
RESET_PLAYER_INPUT_GAIT
(Player player)
RESET_PLAYER_STAMINA
(Player player)
RESET_WANTED_LEVEL_DIFFICULTY
(Player player)
RESET_WORLD_BOUNDARY_FOR_PLAYER
()
RESTORE_PLAYER_STAMINA
(Player player, float percentage)
_SET_ACHIEVEMENT_PROGRESS
(int achievement, int progress)
SET_AIR_DRAG_MULTIPLIER_FOR_PLAYERS_VEHICLE
(Player player, float multiplier)
SET_ALL_RANDOM_PEDS_FLEE
(Player player, BOOL toggle)
SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME
(Player player)
SET_AUTO_GIVE_PARACHUTE_WHEN_ENTER_PLANE
(Player player, BOOL toggle)
SET_AUTO_GIVE_SCUBA_GEAR_WHEN_EXIT_VEHICLE
(Player player, BOOL toggle)
SET_DISABLE_AMBIENT_MELEE_MOVE
(Player player, BOOL toggle)
SET_DISPATCH_COPS_FOR_PLAYER
(Player player, BOOL toggle)
SET_EVERYONE_IGNORE_PLAYER
(Player player, BOOL toggle)
SET_IGNORE_LOW_PRIORITY_SHOCKING_EVENTS
(Player player, BOOL toggle)