FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_PLAYER_MAY_ONLY_ENTER_THIS_VEHICLE
(Player player, Vehicle vehicle)
SET_PLAYER_MELEE_WEAPON_DAMAGE_MODIFIER
(Player player, float modifier)
SET_PLAYER_MELEE_WEAPON_DEFENSE_MODIFIER
(Player player, float modifier)
SET_PLAYER_MODEL
(Player player, Hash model)
SET_PLAYER_NOISE_MULTIPLIER
(Player player, float multiplier)
SET_PLAYER_PARACHUTE_MODEL_OVERRIDE
(Player player, Hash model)
SET_PLAYER_PARACHUTE_PACK_MODEL_OVERRIDE
(Player player, Hash model)
SET_PLAYER_PARACHUTE_PACK_TINT_INDEX
(Player player, int tintIndex)
SET_PLAYER_PARACHUTE_SMOKE_TRAIL_COLOR
(Player player, int r, int g, int b)