FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_PED_SWEAT
(Ped ped, float sweat)
SET_PED_TARGET_LOSS_RESPONSE
(Ped ped, int responseType)
SET_PED_TO_INFORM_RESPECTED_FRIENDS
(Ped ped, float radius, int maxFriends)
SET_PED_TO_LOAD_COVER
(Ped ped, BOOL toggle)
SET_PED_TO_RAGDOLL
(Ped ped, int time1, int time2, int ragdollType, BOOL p4, BOOL p5, BOOL p6)
SET_PED_TO_RAGDOLL_WITH_FALL
(Ped ped, int time, int p2, int ragdollType, float x, float y, float z, float p7, float p8, float p9, float p10, float p11, float p12, float p13)
SET_PED_USING_ACTION_MODE
(Ped ped, BOOL p1, int p2, char* action)
SET_PED_VEHICLE_FORCED_SEAT_USAGE
(Ped ped, Vehicle vehicle, int seatIndex, int flags)
SET_PED_VISUAL_FIELD_CENTER_ANGLE
(Ped ped, float angle)