FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
CONTROL_MOUNTED_WEAPON
(Ped ped)
CREATE_PATROL_ROUTE
()
DELETE_PATROL_ROUTE
(char* patrolRoute)
DOES_SCENARIO_EXIST_IN_AREA
(float x, float y, float z, float radius, BOOL b)
DOES_SCENARIO_GROUP_EXIST
(char* scenarioGroup)
DOES_SCENARIO_OF_TYPE_EXIST_IN_AREA
(float p0, float p1, float p2, char* p3, float p4, BOOL p5)
DOES_SCRIPTED_COVER_POINT_EXIST_AT_COORDS
(float x, float y, float z)
GET_ACTIVE_VEHICLE_MISSION_TYPE
(Vehicle vehicle)
GET_CLIP_SET_FOR_SCRIPTED_GUN_TASK
(int p0)
GET_IS_TASK_ACTIVE
(Ped ped, int taskIndex)
GET_IS_WAYPOINT_RECORDING_LOADED
(char* name)
GET_NAVMESH_ROUTE_DISTANCE_REMAINING
(Ped ped, float* distanceRemaining, BOOL* isPathReady)
GET_NAVMESH_ROUTE_RESULT
(Ped ped)
GET_PED_DESIRED_MOVE_BLEND_RATIO
(Ped ped)
GET_PED_WAYPOINT_DISTANCE
(Any p0)
GET_PED_WAYPOINT_PROGRESS
(Ped ped)
GET_PHONE_GESTURE_ANIM_CURRENT_TIME
(Ped ped)
GET_PHONE_GESTURE_ANIM_TOTAL_TIME
(Ped ped)
GET_SCRIPT_TASK_STATUS
(Ped ped, Hash taskHash)
GET_SCRIPTED_COVER_POINT_COORDS
(ScrHandle coverpoint)
GET_SEQUENCE_PROGRESS
(Ped ped)
GET_TASK_MOVE_NETWORK_EVENT
(Ped ped, char* eventName)
GET_TASK_MOVE_NETWORK_SIGNAL_BOOL
(Ped ped, char* signalName)
_GET_TASK_MOVE_NETWORK_SIGNAL_FLOAT
(Ped ped, char* signalName)
GET_TASK_MOVE_NETWORK_STATE
(Ped ped)
GET_VEHICLE_WAYPOINT_PROGRESS
(Vehicle vehicle)
GET_VEHICLE_WAYPOINT_TARGET_POINT
(Vehicle vehicle)
GET_WAYPOINT_DISTANCE_ALONG_ROUTE
(char* p0, int p1)
IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
(Ped ped)
IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK
(Ped ped)
IS_MOVE_BLEND_RATIO_RUNNING
(Ped ped)
IS_MOVE_BLEND_RATIO_SPRINTING
(Ped ped)
IS_MOVE_BLEND_RATIO_STILL
(Ped ped)
IS_MOVE_BLEND_RATIO_WALKING
(Ped ped)
IS_PED_ACTIVE_IN_SCENARIO
(Ped ped)