FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_PLAYER_VEHICLE_DEFENSE_MODIFIER
(Player player, float modifier)
SET_PLAYER_WANTED_CENTRE_POSITION
(Player player, Vector3* position, BOOL p2, BOOL p3)
SET_PLAYER_WANTED_LEVEL
(Player player, int wantedLevel, BOOL delayedResponse)
SET_PLAYER_WANTED_LEVEL_NO_DROP
(Player player, int wantedLevel, BOOL delayedResponse)
SET_PLAYER_WANTED_LEVEL_NOW
(Player player, BOOL p1)
SET_PLAYER_WEAPON_DAMAGE_MODIFIER
(Player player, float modifier)
SET_PLAYER_WEAPON_DEFENSE_MODIFIER
(Player player, float modifier)
_SET_PLAYER_WEAPON_DEFENSE_MODIFIER_2
(Player player, float modifier)
SET_POLICE_IGNORE_PLAYER
(Player player, BOOL toggle)
SET_POLICE_RADAR_BLIPS
(BOOL toggle)
SET_RUN_SPRINT_MULTIPLIER_FOR_PLAYER
(Player player, float multiplier)
_SET_SPECIAL_ABILITY
(Player player, int p1)
SET_SPECIAL_ABILITY_MULTIPLIER
(float multiplier)
SET_SWIM_MULTIPLIER_FOR_PLAYER
(Player player, float multiplier)
SET_WANTED_LEVEL_DIFFICULTY
(Player player, float difficulty)
_SET_WANTED_LEVEL_HIDDEN_EVASION_TIME
(Player player, int wantedLevel, int lossTime)
SET_WANTED_LEVEL_MULTIPLIER
(float multiplier)
SIMULATE_PLAYER_INPUT_GAIT
(Player player, float amount, int gaitType, float rotationSpeed, BOOL p4, BOOL p5)
_SPECIAL_ABILITY_ACTIVATE
(Any player)
SPECIAL_ABILITY_CHARGE_ABSOLUTE
(Player player, int p1, BOOL p2)
SPECIAL_ABILITY_CHARGE_CONTINUOUS
(Player player, Ped p2)
SPECIAL_ABILITY_CHARGE_LARGE
(Player player, BOOL p1, BOOL p2)
SPECIAL_ABILITY_CHARGE_MEDIUM
(Player player, BOOL p1, BOOL p2)
SPECIAL_ABILITY_CHARGE_NORMALIZED
(Player player, float normalizedValue, BOOL p2)
SPECIAL_ABILITY_CHARGE_ON_MISSION_FAILED
(Player player)
SPECIAL_ABILITY_CHARGE_SMALL
(Player player, BOOL p1, BOOL p2)
SPECIAL_ABILITY_DEACTIVATE
(Player player)
SPECIAL_ABILITY_DEACTIVATE_FAST
(Player player)
_SPECIAL_ABILITY_DEPLETE
(Any p0)
SPECIAL_ABILITY_DEPLETE_METER
(Player player, BOOL p1)
SPECIAL_ABILITY_FILL_METER
(Player player, BOOL p1)