getDisabledControlUnboundNormal
GET_DISABLED_CONTROL_UNBOUND_NORMAL0x4F8A26A890FD62FBThe GTA V native GET_DISABLED_CONTROL_UNBOUND_NORMAL of the PAD namespace, as LS:MP client scripts call it: the global function getDisabledControlUnboundNormal, in JavaScript and in Lua.
getDisabledControlUnboundNormal(control: number, action: number): numbergetDisabledControlUnboundNormal(control: integer, action: integer): numberUsage
JavaScript
const value = getDisabledControlUnboundNormal(control, action);Lua
local value = getDisabledControlUnboundNormal(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.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
The "disabled" variant of getControlUnboundNormal.
Reference
- Namespace
- Controls PAD
- In the game
float GET_DISABLED_CONTROL_UNBOUND_NORMAL(int control, int action)- Hash
0x4F8A26A890FD62FB