FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_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)
SET_MAX_WANTED_LEVEL
(int maxWantedLevel)
SET_PLAYER_BLUETOOTH_STATE
(Player player, BOOL state)
SET_PLAYER_CAN_BE_HASSLED_BY_GANGS
(Player player, BOOL toggle)
SET_PLAYER_CAN_DO_DRIVE_BY
(Player player, BOOL toggle)
SET_PLAYER_CAN_LEAVE_PARACHUTE_SMOKE_TRAIL
(Player player, BOOL enabled)
SET_PLAYER_CAN_USE_COVER
(Player player, BOOL toggle)
SET_PLAYER_CLOTH_LOCK_COUNTER
(int value)
SET_PLAYER_CLOTH_PACKAGE_INDEX
(int index)
SET_PLAYER_CLOTH_PIN_FRAMES
(Player player, int p1)
SET_PLAYER_CONTROL
(Player player, BOOL bHasControl, int flags)
_SET_PLAYER_FALL_DISTANCE
(Player player, float distance)
SET_PLAYER_FORCE_SKIP_AIM_INTRO
(Player player, BOOL toggle)
SET_PLAYER_FORCED_AIM
(Player player, BOOL toggle)
SET_PLAYER_FORCED_ZOOM
(Player player, BOOL toggle)
SET_PLAYER_HAS_RESERVE_PARACHUTE
(Player player)
_SET_PLAYER_HEALTH_RECHARGE_LIMIT
(Player player, float limit)
SET_PLAYER_HEALTH_RECHARGE_MULTIPLIER
(Player player, float regenRate)
_SET_PLAYER_HOMING_ROCKET_DISABLED
(Player player, BOOL p1)
SET_PLAYER_INVINCIBLE
(Player player, BOOL bInvincible)
_SET_PLAYER_INVINCIBLE_KEEP_RAGDOLL_ENABLED
(Player player, BOOL toggle)
SET_PLAYER_LEAVE_PED_BEHIND
(Player player, BOOL toggle)
SET_PLAYER_LOCKON
(Player player, BOOL toggle)
SET_PLAYER_LOCKON_RANGE_OVERRIDE
(Player player, float range)
SET_PLAYER_MAX_ARMOUR
(Player player, int value)
SET_PLAYER_MAY_NOT_ENTER_ANY_VEHICLE
(Player player)