FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_PED_NON_CREATION_AREA
(float x1, float y1, float z1, float x2, float y2, float z2)
SET_PED_PANIC_EXIT_SCENARIO
(Ped ped, float x, float y, float z)
SET_PED_PARACHUTE_TINT_INDEX
(Ped ped, int tintIndex)
SET_PED_PHONE_PALETTE_IDX
(Ped ped, int index)
SET_PED_PINNED_DOWN
(Ped ped, BOOL pinned, int i)
SET_PED_PLAYS_HEAD_ON_HORN_ANIM_WHEN_DIES_IN_VEHICLE
(Ped ped, BOOL toggle)
SET_PED_PREFERRED_COVER_SET
(Ped ped, Any itemSet)
SET_PED_PRELOAD_PROP_DATA
(Ped ped, int componentId, int drawableId, int textureId)
SET_PED_PRELOAD_VARIATION_DATA
(Ped ped, int slot, int drawableId, int textureId)
SET_PED_PRIMARY_LOOKAT
(Ped ped, Ped lookAt)
SET_PED_PROP_INDEX
(Ped ped, int componentId, int drawableId, int textureId, BOOL attach)
SET_PED_RAGDOLL_FORCE_FALL
(Ped ped)
SET_PED_RAGDOLL_ON_COLLISION
(Ped ped, BOOL toggle)
SET_PED_RANDOM_COMPONENT_VARIATION
(Ped ped, int p1)
SET_PED_RANDOM_PROPS
(Ped ped)
SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH
(Ped ped, Hash hash)
SET_PED_RELATIONSHIP_GROUP_HASH
(Ped ped, Hash hash)
SET_PED_RESERVE_PARACHUTE_TINT_INDEX
(Ped ped, Any p1)
SET_PED_RESET_FLAG
(Ped ped, int flagId, BOOL doReset)
_SET_PED_SCUBA_GEAR_VARIATION
(Ped ped)
SET_PED_SEEING_RANGE
(Ped ped, float value)
SET_PED_SHOOT_RATE
(Ped ped, int shootRate)
SET_PED_SHOOTS_AT_COORD
(Ped ped, float x, float y, float z, BOOL toggle)
_SET_PED_SHOULD_PLAY_DIRECTED_SCENARIO_EXIT
(Ped ped, float x, float y, float z)
SET_PED_SHOULD_PLAY_FLEE_SCENARIO_EXIT
(Ped ped, Any p1, Any p2, Any p3)
SET_PED_SHOULD_PLAY_IMMEDIATE_SCENARIO_EXIT
(Ped ped)
SET_PED_SHOULD_PLAY_NORMAL_SCENARIO_EXIT
(Ped ped)
SET_PED_SPHERE_DEFENSIVE_AREA
(Ped ped, float x, float y, float z, float radius, BOOL p5, BOOL p6)
SET_PED_STAY_IN_VEHICLE_WHEN_JACKED
(Ped ped, BOOL toggle)
SET_PED_STEALTH_MOVEMENT
(Ped ped, BOOL p1, char* action)
SET_PED_STEERS_AROUND_OBJECTS
(Ped ped, BOOL toggle)
SET_PED_STEERS_AROUND_PEDS
(Ped ped, BOOL toggle)
SET_PED_STEERS_AROUND_VEHICLES
(Ped ped, BOOL toggle)
SET_PED_STRAFE_CLIPSET
(Ped ped, char* clipSet)
SET_PED_SUFFERS_CRITICAL_HITS
(Ped ped, BOOL toggle)