FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_PED_ANGLED_DEFENSIVE_AREA
(Ped ped, float p1, float p2, float p3, float p4, float p5, float p6, float p7, BOOL p8, BOOL p9)
SET_PED_AO_BLOB_RENDERING
(Ped ped, BOOL toggle)
SET_PED_ARMOUR
(Ped ped, int amount)
SET_PED_AS_COP
(Ped ped, BOOL toggle)
SET_PED_AS_ENEMY
(Ped ped, BOOL toggle)
SET_PED_AS_GROUP_LEADER
(Ped ped, int groupId)
SET_PED_AS_GROUP_MEMBER
(Ped ped, int groupId)
SET_PED_BLEND_FROM_PARENTS
(Ped ped, Ped father, Ped mother, float fathersSide, float mothersSide)
SET_PED_BLOCKS_PATHING_WHEN_DEAD
(Ped ped, BOOL toggle)
SET_PED_BOUNDS_ORIENTATION
(Ped ped, float p1, float p2, float p3, float p4, float p5)
SET_PED_CAN_ARM_IK
(Ped ped, BOOL toggle)
SET_PED_CAN_BE_DRAGGED_OUT
(Ped ped, BOOL toggle)
SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE
(Ped ped, int state)
SET_PED_CAN_BE_SHOT_IN_VEHICLE
(Ped ped, BOOL toggle)
SET_PED_CAN_BE_TARGETED_WHEN_INJURED
(Ped ped, BOOL toggle)
SET_PED_CAN_BE_TARGETED_WITHOUT_LOS
(Ped ped, BOOL toggle)
SET_PED_CAN_BE_TARGETTED
(Ped ped, BOOL toggle)
SET_PED_CAN_BE_TARGETTED_BY_PLAYER
(Ped ped, Player player, BOOL toggle)
SET_PED_CAN_BE_TARGETTED_BY_TEAM
(Ped ped, int team, BOOL toggle)
SET_PED_CAN_COWER_IN_COVER
(Ped ped, BOOL toggle)
SET_PED_CAN_EVASIVE_DIVE
(Ped ped, BOOL toggle)
SET_PED_CAN_HEAD_IK
(Ped ped, BOOL toggle)
SET_PED_CAN_LEG_IK
(Ped ped, BOOL toggle)
SET_PED_CAN_LOSE_PROPS_ON_DAMAGE
(Ped ped, BOOL loseProps, int p2)
SET_PED_CAN_PEEK_IN_COVER
(Ped ped, BOOL toggle)
SET_PED_CAN_PLAY_AMBIENT_ANIMS
(Ped ped, BOOL toggle)
SET_PED_CAN_PLAY_AMBIENT_BASE_ANIMS
(Ped ped, BOOL toggle)
SET_PED_CAN_PLAY_GESTURE_ANIMS
(Ped ped, BOOL toggle)
_SET_PED_CAN_PLAY_INJURED_ANIMS
(Ped ped, BOOL p1)
SET_PED_CAN_PLAY_VISEME_ANIMS
(Ped ped, BOOL toggle, BOOL p2)