FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_PED_VISUAL_FIELD_CENTER_ANGLE
(Ped ped, float angle)
SET_PED_VISUAL_FIELD_MAX_ANGLE
(Ped ped, float value)
SET_PED_VISUAL_FIELD_MAX_ELEVATION_ANGLE
(Ped ped, float angle)
SET_PED_VISUAL_FIELD_MIN_ANGLE
(Ped ped, float value)
SET_PED_VISUAL_FIELD_MIN_ELEVATION_ANGLE
(Ped ped, float angle)
SET_PED_VISUAL_FIELD_PERIPHERAL_RANGE
(Ped ped, float range)
SET_PED_WEAPON_MOVEMENT_CLIPSET
(Ped ped, char* clipSet)
SET_PED_WETNESS_ENABLED_THIS_FRAME
(Ped ped)
SET_PED_WETNESS_HEIGHT
(Ped ped, float height)
SET_POP_CONTROL_SPHERE_THIS_FRAME
(float x, float y, float z, float min, float max)
SET_RAGDOLL_BLOCKING_FLAGS
(Ped ped, int flags)
SET_RELATIONSHIP_BETWEEN_GROUPS
(int relationship, Hash group1, Hash group2)
_SET_RELATIONSHIP_GROUP_DONT_AFFECT_WANTED_LEVEL
(Hash group, BOOL p1)
SET_SCENARIO_PED_DENSITY_MULTIPLIER_THIS_FRAME
(float interiorMult, float exteriorMult)
SET_SCENARIO_PEDS_SPAWN_IN_SPHERE_AREA
(float x, float y, float z, float range, int p4)
SET_SCENARIO_PEDS_TO_BE_RETURNED_BY_NEXT_COMMAND
(BOOL value)
SET_SCRIPTED_ANIM_SEAT_OFFSET
(Ped ped, float p1)
SET_SCRIPTED_CONVERSION_COORD_THIS_FRAME
(float x, float y, float z)
SET_SYNCHRONIZED_SCENE_HOLD_LAST_FRAME
(int sceneID, BOOL toggle)
SET_SYNCHRONIZED_SCENE_LOOPED
(int sceneID, BOOL toggle)
SET_SYNCHRONIZED_SCENE_ORIGIN
(int sceneID, float x, float y, float z, float roll, float pitch, float yaw, BOOL p7)
SET_SYNCHRONIZED_SCENE_PHASE
(int sceneID, float phase)
SET_SYNCHRONIZED_SCENE_RATE
(int sceneID, float rate)
SPAWNPOINTS_CANCEL_SEARCH
()
SPAWNPOINTS_GET_NUM_SEARCH_RESULTS
()
SPAWNPOINTS_GET_SEARCH_RESULT
(int randomInt, float* x, float* y, float* z)
SPAWNPOINTS_GET_SEARCH_RESULT_FLAGS
(Any p0, Any* p1)
SPAWNPOINTS_IS_SEARCH_ACTIVE
()
SPAWNPOINTS_IS_SEARCH_COMPLETE
()
SPAWNPOINTS_IS_SEARCH_FAILED
()
SPAWNPOINTS_START_SEARCH
(float p0, float p1, float p2, float p3, float p4, int interiorFlags, float scale, int duration)
SPAWNPOINTS_START_SEARCH_IN_ANGLED_AREA
(float x, float y, float z, float p3, float p4, float p5, float p6, int interiorFlags, float scale, int duration)
SPECIAL_FUNCTION_DO_NOT_USE
(Ped ped, BOOL noCollisionUntilClear)
STOP_ANY_PED_MODEL_BEING_SUPPRESSED
()
STOP_PED_WEAPON_FIRING_WHEN_DROPPED
(Ped ped)