FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT
(Ped ped, BOOL toggle)
SET_PED_CAN_SMASH_GLASS
(Ped ped, BOOL p1, BOOL p2)
SET_PED_CAN_SWITCH_WEAPON
(Ped ped, BOOL toggle)
SET_PED_CAN_TELEPORT_TO_GROUP_LEADER
(Ped pedHandle, int groupHandle, BOOL toggle)
SET_PED_CAN_TORSO_IK
(Ped ped, BOOL toggle)
SET_PED_CAN_TORSO_REACT_IK
(Ped ped, BOOL p1)
SET_PED_CAN_TORSO_VEHICLE_IK
(Ped ped, BOOL p1)
SET_PED_CAN_USE_AUTO_CONVERSATION_LOOKAT
(Ped ped, BOOL toggle)
SET_PED_CAPSULE
(Ped ped, float value)
SET_PED_CLOTH_PACKAGE_INDEX
(Ped ped, int p1)
SET_PED_CLOTH_PRONE
(Any p0, Any p1)
SET_PED_COMBAT_ABILITY
(Ped ped, int p1)
SET_PED_COMBAT_ATTRIBUTES
(Ped ped, int attributeIndex, BOOL enabled)
SET_PED_COMBAT_MOVEMENT
(Ped ped, int combatMovement)
SET_PED_COMBAT_RANGE
(Ped ped, int range)
SET_PED_COMPONENT_VARIATION
(Ped ped, int componentId, int drawableId, int textureId, int paletteId)
SET_PED_CONFIG_FLAG
(Ped ped, int flagId, BOOL value)
SET_PED_COORDS_KEEP_VEHICLE
(Ped ped, float posX, float posY, float posZ)
SET_PED_COORDS_NO_GANG
(Ped ped, float posX, float posY, float posZ)
_SET_PED_COVER_CLIPSET_OVERRIDE
(Ped ped, char* p1)
SET_PED_COWER_HASH
(Ped ped, char* p1)
SET_PED_DEFAULT_COMPONENT_VARIATION
(Ped ped)
SET_PED_DEFENSIVE_AREA_ATTACHED_TO_PED
(Ped ped, Ped attachPed, float p2, float p3, float p4, float p5, float p6, float p7, float p8, BOOL p9, BOOL p10)
SET_PED_DEFENSIVE_AREA_DIRECTION
(Ped ped, float p1, float p2, float p3, BOOL p4)
SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_PED
(Ped ped, Ped target, float xOffset, float yOffset, float zOffset, float radius, BOOL p6)
SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_VEHICLE
(Ped ped, Vehicle target, float xOffset, float yOffset, float zOffset, float radius, BOOL p6)
SET_PED_DENSITY_MULTIPLIER_THIS_FRAME
(float multiplier)
SET_PED_DESIRED_HEADING
(Ped ped, float heading)
SET_PED_DIES_IN_SINKING_VEHICLE
(Ped ped, BOOL toggle)
SET_PED_DIES_IN_VEHICLE
(Ped ped, BOOL toggle)
SET_PED_DIES_IN_WATER
(Ped ped, BOOL toggle)
SET_PED_DIES_INSTANTLY_IN_WATER
(Ped ped, BOOL toggle)
SET_PED_DIES_WHEN_INJURED
(Ped ped, BOOL toggle)
SET_PED_DRIVE_BY_CLIPSET_OVERRIDE
(Ped ped, char* clipset)
SET_PED_DUCKING
(Ped ped, BOOL toggle)