FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
RESURRECT_PED
(Ped ped)
REVIVE_INJURED_PED
(Ped ped)
SET_AI_MELEE_WEAPON_DAMAGE_MODIFIER
(float modifier)
SET_AI_WEAPON_DAMAGE_MODIFIER
(float value)
SET_AMBIENT_PEDS_DROP_MONEY
(BOOL p0)
SET_BLOCKING_OF_NON_TEMPORARY_EVENTS
(Ped ped, BOOL toggle)
SET_CAN_ATTACK_FRIENDLY
(Ped ped, BOOL toggle, BOOL p2)
SET_COMBAT_FLOAT
(Ped ped, int combatType, float p2)
SET_CREATE_RANDOM_COPS
(BOOL toggle)
SET_CREATE_RANDOM_COPS_NOT_ON_SCENARIOS
(BOOL toggle)
SET_CREATE_RANDOM_COPS_ON_SCENARIOS
(BOOL toggle)
SET_DRIVER_ABILITY
(Ped driver, float ability)
SET_DRIVER_AGGRESSIVENESS
(Ped driver, float aggressiveness)
SET_DRIVER_RACING_MODIFIER
(Ped driver, float modifier)
SET_ENABLE_BOUND_ANKLES
(Ped ped, BOOL toggle)
SET_ENABLE_HANDCUFFS
(Ped ped, BOOL toggle)
SET_ENABLE_PED_ENVEFF_SCALE
(Ped ped, BOOL toggle)
SET_ENABLE_SCUBA
(Ped ped, BOOL toggle)
_SET_ENABLE_SCUBA_GEAR_LIGHT
(Ped ped, BOOL toggle)
_SET_FACIAL_CLIPSET_OVERRIDE
(Ped ped, char* animDict)
SET_FACIAL_IDLE_ANIM_OVERRIDE
(Ped ped, char* animName, char* animDict)
SET_FORCE_FOOTSTEP_UPDATE
(Ped ped, BOOL toggle)
SET_FORCE_STEP_TYPE
(Ped ped, BOOL p1, int type, int p3)
SET_GROUP_FORMATION
(int groupId, int formationType)
SET_GROUP_FORMATION_SPACING
(int groupId, float p1, float p2, float p3)
SET_GROUP_SEPARATION_RANGE
(int groupHandle, float separationRange)
SET_HEAD_BLEND_PALETTE_COLOR
(Ped ped, int r, int g, int b, int id)
SET_IK_TARGET
(Ped ped, int ikIndex, Entity entityLookAt, int boneLookAt, float offsetX, float offsetY, float offsetZ, Any p7, int blendInDuration, int blendOutDuration)
SET_MOVEMENT_MODE_OVERRIDE
(Ped ped, char* name)
SET_PED_ACCURACY
(Ped ped, int accuracy)
SET_PED_ALERTNESS
(Ped ped, int value)
SET_PED_ALLOW_VEHICLES_OVERRIDE
(Ped ped, BOOL toggle)
SET_PED_ALLOWED_TO_DUCK
(Ped ped, BOOL toggle)
SET_PED_ALTERNATE_MOVEMENT_ANIM
(Ped ped, int stance, char* animDictionary, char* animationName, float p4, BOOL p5)
SET_PED_ALTERNATE_WALK_ANIM
(Ped ped, char* animDict, char* animName, float p3, BOOL p4)