FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_PED_CAN_RAGDOLL
(Ped ped, BOOL toggle)
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)