FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_GET_TIME_SINCE_LAST_INPUT
(int padIndex)
IS_CONTROL_ENABLED
(int padIndex, int control)
IS_CONTROL_JUST_PRESSED
(int padIndex, int control)
IS_CONTROL_JUST_RELEASED
(int padIndex, int control)
IS_CONTROL_PRESSED
(int padIndex, int control)
IS_CONTROL_RELEASED
(int padIndex, int control)
IS_DISABLED_CONTROL_JUST_PRESSED
(int padIndex, int control)
IS_DISABLED_CONTROL_JUST_RELEASED
(int padIndex, int control)
IS_DISABLED_CONTROL_PRESSED
(int padIndex, int control)
_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 bPermanent, int flags)
ADD_NAVMESH_REQUIRED_REGION
(float x, float y, float radius)