FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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, int ikTargetFlags, 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)
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)