FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_PLAYER_PARACHUTE_TINT_INDEX
(Player player, int tintIndex)
SET_PLAYER_PARACHUTE_VARIATION_OVERRIDE
(Player player, int p1, Any p2, Any p3, BOOL p4)
_SET_PLAYER_RESERVE_PARACHUTE_MODEL_OVERRIDE
(Player player, Hash model)
SET_PLAYER_RESERVE_PARACHUTE_TINT_INDEX
(Player player, int index)
SET_PLAYER_RESET_FLAG_PREFER_REAR_SEATS
(Player player, int flags)
SET_PLAYER_SIMULATE_AIMING
(Player player, BOOL toggle)
SET_PLAYER_SNEAKING_NOISE_MULTIPLIER
(Player player, float multiplier)
SET_PLAYER_SPRINT
(Player player, BOOL toggle)
SET_PLAYER_STEALTH_PERCEPTION_MODIFIER
(Player player, float value)
SET_PLAYER_TARGET_LEVEL
(int targetLevel)
SET_PLAYER_TARGETING_MODE
(int targetMode)
SET_PLAYER_TEAM
(Player player, int team)
_SET_PLAYER_UNDERWATER_TIME_REMAINING
(Player player, float percentage)
SET_PLAYER_VEHICLE_DAMAGE_MODIFIER
(Player player, float modifier)