getDisabledControlNormal
GET_DISABLED_CONTROL_NORMAL0x11E65974A982637CThe GTA V native GET_DISABLED_CONTROL_NORMAL of the PAD namespace, as LS:MP client scripts call it: the global function getDisabledControlNormal, in JavaScript and in Lua.
getDisabledControlNormal(control: number, action: number): numbergetDisabledControlNormal(control: integer, action: integer): numberUsage
JavaScript
const value = getDisabledControlNormal(control, action);Lua
local value = getDisabledControlNormal(control, action)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
control | int | number | integer | see isControlEnabled |
action | int | number | integer |
Returns
float JavaScript number, Lua numberOn 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 returns 0.0, or 0.5, the centre of the screen, for the two cursor axes.
Reference
- Namespace
- Controls PAD
- In the game
float GET_DISABLED_CONTROL_NORMAL(int control, int action)- Hash
0x11E65974A982637C