FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
DISABLE_CONTROL_ACTION
(int padIndex, int control, BOOL disable)
_DISABLE_INPUT_GROUP
(int padIndex)
ENABLE_ALL_CONTROL_ACTIONS
(int padIndex)
ENABLE_CONTROL_ACTION
(int padIndex, int control, BOOL enable)
GET_ALLOW_MOVEMENT_WHILE_ZOOMED
()
GET_CONTROL_GROUP_INSTRUCTIONAL_BUTTON
(int padIndex, int controlGroup, BOOL p2)
GET_CONTROL_INSTRUCTIONAL_BUTTON
(int padIndex, int control, BOOL p2)
GET_CONTROL_NORMAL
(int padIndex, int control)
GET_CONTROL_UNBOUND_NORMAL
(int padIndex, int control)
GET_CONTROL_VALUE
(int padIndex, int control)
GET_DISABLED_CONTROL_NORMAL
(int padIndex, int control)
GET_DISABLED_CONTROL_UNBOUND_NORMAL
(int padIndex, int control)
GET_IS_USING_ALTERNATE_DRIVEBY
()
GET_LOCAL_PLAYER_AIM_STATE
()
_GET_LOCAL_PLAYER_AIM_STATE_2
()
_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)