FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_IS_USING_KEYBOARD_2
(int padIndex)
_RESET_INPUT_MAPPING_SCHEME
()
_SET_CONTROL_LIGHT_EFFECT_COLOR
(int padIndex, int red, int green, int blue)
_SET_CONTROL_NORMAL
(int padIndex, int control, float amount)
_SET_CURSOR_LOCATION
(float x, float y)
SET_INPUT_EXCLUSIVE
(int padIndex, int control)
SET_PAD_SHAKE
(int padIndex, int duration, int frequency)
SET_PLAYERPAD_SHAKES_WHEN_CONTROLLER_DISABLED
(BOOL toggle)
STOP_PAD_SHAKE
(int padIndex)
_SWITCH_TO_INPUT_MAPPING_SCHEME
(char* name)
_SWITCH_TO_INPUT_MAPPING_SCHEME_2
(char* name)
0x14D29BB12D47F68C
(Any p0, Any p1, Any p2, Any p3, Any p4)
0x23F09EADC01449D6
(int padIndex)
0x25AAA32BDC98F2A3
()
0x5B73C77D9EB66E24
(BOOL p0)
0x6CD79468A1E595C6
(int padIndex)
0xA0CEFCEA390AAB9B
(Any p0)
0xCB0360EFEFB2580D
(int padIndex)
0xE1615EC03B3BB4FD
()
0xF239400E16C23E08
(int padIndex, int p1)
Namespace:
PATHFIND
ADD_NAVMESH_BLOCKING_OBJECT
(float x, float y, float z, float width, float length, float height, float heading, BOOL bPermanent, int flags)
ADD_NAVMESH_REQUIRED_REGION
(float x, float y, float radius)
ARE_ALL_NAVMESH_REGIONS_LOADED
()
ARE_NODES_LOADED_FOR_AREA
(float x1, float y1, float x2, float y2)
CALCULATE_TRAVEL_DISTANCE_BETWEEN_POINTS
(float x1, float y1, float z1, float x2, float y2, float z2)
CLEAR_GPS_DISABLED_ZONE_AT_INDEX
(int index)
DISABLE_NAVMESH_IN_AREA
(float posMinX, float posMinY, float posMinZ, float posMaxX, float posMaxY, float posMaxZ, bool bDisable)
DOES_NAVMESH_BLOCKING_OBJECT_EXIST
(Any p0)
GENERATE_DIRECTIONS_TO_COORD
(float x, float y, float z, BOOL p3, int* direction, float* vehicle, float* distToNxJunction)
GET_CLOSEST_MAJOR_VEHICLE_NODE
(float x, float y, float z, Vector3* outPosition, float unknown1, int unknown2)
GET_CLOSEST_ROAD
(float x, float y, float z, float minimumEdgeLength, int minimumLaneCount, Vector3* srcNode, Vector3* targetNode, int* laneCountForward, int* laneCountBackward, float* width, BOOL onlyMajorRoads)
GET_CLOSEST_VEHICLE_NODE
(float x, float y, float z, Vector3* outPosition, int nodeType, float p5, float p6)
GET_CLOSEST_VEHICLE_NODE_WITH_HEADING
(float x, float y, float z, Vector3* outPosition, float* outHeading, int nodeType, float p6, int p7)
GET_GPS_BLIP_ROUTE_FOUND
()