FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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 bDisableIdleAnims, BOOL bStopCurrentAnim)
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)
SET_PED_WAYPOINT_ROUTE_OFFSET
(Any p0, Any p1, Any p2, Any p3)
SET_SCENARIO_GROUP_ENABLED
(char* scenarioGroup, BOOL p1)
SET_SCENARIO_TYPE_ENABLED
(char* scenarioType, BOOL toggle)
SET_SEQUENCE_TO_REPEAT
(int taskSequenceId, BOOL repeat)
SET_TASK_MOVE_NETWORK_SIGNAL_BOOL
(Ped ped, char* signalName, BOOL value)
SET_TASK_MOVE_NETWORK_SIGNAL_FLOAT
(Ped ped, char* signalName, float value)
_SET_TASK_MOVE_NETWORK_SIGNAL_FLOAT_2
(Ped ped, char* signalName, float value)
SET_TASK_VEHICLE_CHASE_BEHAVIOR_FLAG
(Ped ped, int flag, BOOL set)
SET_TASK_VEHICLE_CHASE_IDEAL_PURSUIT_DISTANCE
(Ped ped, float distance)
STOP_ANIM_PLAYBACK
(Ped ped, int p1, BOOL p2)
STOP_ANIM_TASK
(Ped ped, char* animDictionary, char* animationName, float animExitSpeed)
TASK_ACHIEVE_HEADING
(Ped ped, float heading, int timeout)
_TASK_AGITATED_ACTION
(Ped ped, Ped ped2)
TASK_AIM_GUN_AT_COORD
(Ped ped, float x, float y, float z, int time, BOOL p5, BOOL p6)
TASK_AIM_GUN_AT_ENTITY
(Ped ped, Entity entity, int duration, BOOL p3)
TASK_AIM_GUN_SCRIPTED
(Ped ped, Hash scriptTask, BOOL p2, BOOL p3)
TASK_AIM_GUN_SCRIPTED_WITH_TARGET
(Any p0, Any p1, float p2, float p3, float p4, Any p5, BOOL p6, BOOL p7)
TASK_ARREST_PED
(Ped ped, Ped target)
TASK_BOAT_MISSION
(Ped pedDriver, Vehicle boat, Any p2, Any p3, float x, float y, float z, Any p7, float maxSpeed, int drivingStyle, float p10, Any p11)
TASK_CHAT_TO_PED
(Ped ped, Ped target, Any p2, float p3, float p4, float p5, float p6, float p7)
TASK_CLEAR_DEFENSIVE_AREA
(Any p0)
TASK_CLEAR_LOOK_AT
(Ped ped)
TASK_CLIMB
(Ped ped, BOOL unused)
TASK_CLIMB_LADDER
(Ped ped, int p1)