FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
TASK_VEHICLE_DRIVE_WANDER
(Ped ped, Vehicle vehicle, float speed, int drivingStyle)
TASK_VEHICLE_ESCORT
(Ped ped, Vehicle vehicle, Vehicle targetVehicle, int mode, float speed, int drivingStyle, float minDistance, int p7, float noRoadsDistance)
TASK_VEHICLE_FOLLOW
(Ped driver, Vehicle vehicle, Entity targetEntity, float speed, int drivingStyle, int minDistance)
TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING
(Ped ped, Vehicle vehicle, char* WPRecording, int p3, int p4, int p5, int p6, float p7, BOOL p8, float p9)
TASK_VEHICLE_GOTO_NAVMESH
(Ped ped, Vehicle vehicle, float x, float y, float z, float speed, int behaviorFlag, float stoppingRange)
TASK_VEHICLE_HELI_PROTECT
(Ped pilot, Vehicle vehicle, Entity entityToFollow, float targetSpeed, int p4, float radius, int altitude, int p7)
TASK_VEHICLE_MISSION
(Ped driver, Vehicle vehicle, Vehicle vehicleTarget, int missionType, float p4, Any p5, float p6, float p7, BOOL DriveAgainstTraffic)
TASK_VEHICLE_MISSION_COORS_TARGET
(Ped ped, Vehicle vehicle, float x, float y, float z, int p5, int p6, int p7, float p8, float p9, BOOL DriveAgainstTraffic)
TASK_VEHICLE_MISSION_PED_TARGET
(Ped ped, Vehicle vehicle, Ped pedTarget, int missionType, float maxSpeed, int drivingStyle, float minDistance, float p7, BOOL DriveAgainstTraffic)
TASK_VEHICLE_PARK
(Ped ped, Vehicle vehicle, float x, float y, float z, float heading, int mode, float radius, BOOL keepEngineOn)
TASK_VEHICLE_PLAY_ANIM
(Vehicle vehicle, char* animationSet, char* animationName)
TASK_VEHICLE_SHOOT_AT_COORD
(Ped ped, float x, float y, float z, float p4)
TASK_VEHICLE_SHOOT_AT_PED
(Ped ped, Ped target, float p2)
TASK_VEHICLE_TEMP_ACTION
(Ped driver, Vehicle vehicle, int action, int time)
TASK_WANDER_IN_AREA
(Ped ped, float x, float y, float z, float radius, int minimalLength, float timeBetweenWalks)
_TASK_WANDER_SPECIFIC
(Any p0, Any p1, Any p2, Any p3)
TASK_WANDER_STANDARD
(Ped ped, float p1, int p2)
TASK_WARP_PED_INTO_VEHICLE
(Ped ped, Vehicle vehicle, int seatIndex)
TASK_WRITHE
(Ped ped, Ped target, int time, int p3)
UNCUFF_PED
(Ped ped)
UPDATE_TASK_AIM_GUN_SCRIPTED_TARGET
(Ped p0, Ped p1, float p2, float p3, float p4, BOOL p5)
UPDATE_TASK_HANDS_UP_DURATION
(Ped ped, int duration)
UPDATE_TASK_SWEEP_AIM_ENTITY
(Ped ped, Entity entity)
UPDATE_TASK_SWEEP_AIM_POSITION
(Any p0, float p1, float p2, float p3)
USE_WAYPOINT_RECORDING_AS_ASSISTED_MOVEMENT_ROUTE
(char* name, BOOL p1, float p2, float p3)
VEHICLE_WAYPOINT_PLAYBACK_OVERRIDE_SPEED
(Vehicle vehicle, float speed)
VEHICLE_WAYPOINT_PLAYBACK_PAUSE
(Vehicle vehicle)
VEHICLE_WAYPOINT_PLAYBACK_RESUME
(Vehicle vehicle)
VEHICLE_WAYPOINT_PLAYBACK_USE_DEFAULT_SPEED
(Vehicle vehicle)
WAYPOINT_PLAYBACK_GET_IS_PAUSED
(Any p0)
WAYPOINT_PLAYBACK_OVERRIDE_SPEED
(Any p0, float p1, BOOL p2)
WAYPOINT_PLAYBACK_PAUSE
(Any p0, BOOL p1, BOOL p2)
WAYPOINT_PLAYBACK_RESUME
(Any p0, BOOL p1, Any p2, Any p3)
WAYPOINT_PLAYBACK_START_AIMING_AT_COORD
(Any p0, float p1, float p2, float p3, BOOL p4)
WAYPOINT_PLAYBACK_START_AIMING_AT_PED
(Any p0, Any p1, BOOL p2)