enableAllControlActions
ENABLE_ALL_CONTROL_ACTIONS0xA5FFE9B05F199DE7The GTA V native ENABLE_ALL_CONTROL_ACTIONS of the PAD namespace, as LS:MP client scripts call it: the global function enableAllControlActions, in JavaScript and in Lua.
enableAllControlActions(control: number): voidenableAllControlActions(control: integer)Usage
JavaScript
enableAllControlActions(control);Lua
enableAllControlActions(control)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
control | int | number | integer | see isControlEnabled |
Returns
Nothing. In JavaScript the call evaluates to undefined.
On LS:MP
ℹ
Input while LS:MP has the focus
While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it does nothing.
Reference
- Namespace
- Controls PAD
- In the game
void ENABLE_ALL_CONTROL_ACTIONS(int control)- Hash
0xA5FFE9B05F199DE7