FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
PED_HAS_USE_SCENARIO_TASK
(Ped ped)
PLAY_ANIM_ON_RUNNING_SCENARIO
(Ped ped, char* animDict, char* animName)
PLAY_ENTITY_SCRIPTED_ANIM
(Any p0, Any* p1, Any* p2, Any* p3, float p4, float p5)
REMOVE_ALL_COVER_BLOCKING_AREAS
()
REMOVE_COVER_POINT
(ScrHandle coverpoint)
REMOVE_WAYPOINT_RECORDING
(char* name)
REQUEST_TASK_MOVE_NETWORK_STATE_TRANSITION
(Ped ped, char* name)
REQUEST_WAYPOINT_RECORDING
(char* name)
RESET_EXCLUSIVE_SCENARIO_GROUP
()
RESET_SCENARIO_GROUPS_ENABLED
()
RESET_SCENARIO_TYPES_ENABLED
()
SET_ANIM_LOOPED
(Any p0, BOOL p1, Any p2, BOOL p3)
SET_ANIM_PHASE
(Entity entity, float p1, Any p2, BOOL p3)
SET_ANIM_RATE
(Any p0, float p1, Any p2, BOOL p3)
SET_ANIM_WEIGHT
(Any p0, float p1, Any p2, Any p3, BOOL p4)
SET_DRIVE_TASK_CRUISE_SPEED
(Ped driver, float cruiseSpeed)
SET_DRIVE_TASK_DRIVING_STYLE
(Ped ped, int drivingStyle)
SET_DRIVE_TASK_MAX_CRUISE_SPEED
(Any p0, float p1)
SET_DRIVEBY_TASK_TARGET
(Ped shootingPed, Ped targetPed, Vehicle targetVehicle, float x, float y, float z)
SET_EXCLUSIVE_SCENARIO_GROUP
(char* scenarioGroup)
SET_GLOBAL_MIN_BIRD_FLIGHT_HEIGHT
(float height)
SET_HIGH_FALL_TASK
(Ped ped, Any duration, Any p2, Any p3)
SET_MOUNTED_WEAPON_TARGET
(Ped shootingPed, Ped targetPed, Vehicle targetVehicle, float x, float y, float z)
SET_NEXT_DESIRED_MOVE_STATE
(float p0)
SET_PARACHUTE_TASK_TARGET
(Ped ped, float x, float y, float z)
SET_PARACHUTE_TASK_THRUST
(Ped ped, float thrust)
SET_PED_CAN_PLAY_AMBIENT_IDLES
(Ped ped, BOOL bBlockIdleClips, BOOL bRemoveIdleClipIfPlaying)
SET_PED_DESIRED_MOVE_BLEND_RATIO
(Ped ped, float p1)
SET_PED_PATH_AVOID_FIRE
(Ped ped, BOOL avoidFire)
SET_PED_PATH_CAN_DROP_FROM_HEIGHT
(Ped ped, BOOL Toggle)
SET_PED_PATH_CAN_USE_CLIMBOVERS
(Ped ped, BOOL Toggle)
SET_PED_PATH_CAN_USE_LADDERS
(Ped ped, BOOL Toggle)
SET_PED_PATH_CLIMB_COST_MODIFIER
(Ped ped, float modifier)
SET_PED_PATH_MAY_ENTER_WATER
(Ped ped, BOOL mayEnterWater)
SET_PED_PATH_PREFER_TO_AVOID_WATER
(Ped ped, BOOL avoidWater)