FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
_SET_PED_EMISSIVE_INTENSITY
(Ped ped, float intensity)
SET_PED_ENABLE_WEAPON_BLOCKING
(Ped ped, BOOL toggle)
SET_PED_ENVEFF_COLOR_MODULATOR
(Ped ped, int r, int g, int b)
SET_PED_ENVEFF_SCALE
(Ped ped, float value)
_SET_PED_EYE_COLOR
(Ped ped, int index)
_SET_PED_FACE_FEATURE
(Ped ped, int index, float scale)
SET_PED_FIRING_PATTERN
(Ped ped, Hash patternHash)
SET_PED_FLEE_ATTRIBUTES
(Ped ped, int attributeFlags, BOOL enable)
SET_PED_GENERATES_DEAD_BODY_EVENTS
(Ped ped, BOOL toggle)
SET_PED_GESTURE_GROUP
(Ped ped, char* animGroupGesture)
SET_PED_GET_OUT_UPSIDE_DOWN_VEHICLE
(Ped ped, BOOL toggle)
SET_PED_GRAVITY
(Ped ped, BOOL toggle)
SET_PED_GROUP_MEMBER_PASSENGER_INDEX
(Ped ped, int index)
SET_PED_HAIR_TINT
(Ped ped, int colorID, int highlightColorID)