FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_IS_DISABLED_CONTROL_RELEASED
(int padIndex, int control)
IS_LOOK_INVERTED
()
_IS_USING_KEYBOARD
(int padIndex)
_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 p7, Any p8)
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
(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6)
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 p3, int p4, Vector3* p5, Vector3* p6, Any* p7, Any* p8, float* p9, BOOL p10)