FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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_DIRECTLY_INTO_COVER
(Ped ped, int time, BOOL canPeekAndAim, BOOL forceInitialFacingDirection, BOOL forceFaceLeft, int coverIndex)
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)
WAYPOINT_PLAYBACK_START_SHOOTING_AT_COORD
(Any p0, float p1, float p2, float p3, BOOL p4, Any p5)
WAYPOINT_PLAYBACK_START_SHOOTING_AT_PED
(Any p0, Any p1, BOOL p2, Any p3)
WAYPOINT_PLAYBACK_STOP_AIMING_OR_SHOOTING
(Any p0)
WAYPOINT_PLAYBACK_USE_DEFAULT_SPEED
(Any p0)
WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT
(char* name, float x, float y, float z, int* point)
WAYPOINT_RECORDING_GET_COORD
(char* name, int point, Vector3* coord)
WAYPOINT_RECORDING_GET_NUM_POINTS
(char* name, int* points)
WAYPOINT_RECORDING_GET_SPEED_AT_POINT
(char* name, int point)
0x0FFB3C758E8C07B9
(Ped ped, BOOL p1)
0x1F351CF1C6475734
(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6, Any p7, Any p8, Any p9)