ControlsClient

getDisabledControlUnboundNormal

GET_DISABLED_CONTROL_UNBOUND_NORMAL0x4F8A26A890FD62FB

The 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.

SignatureJavaScript
getDisabledControlUnboundNormal(control: number, action: number): number
SignatureLua
getDisabledControlUnboundNormal(control: integer, action: integer): number

Usage

JavaScript
const value = getDisabledControlUnboundNormal(control, action);
Lua
local value = getDisabledControlUnboundNormal(control, action)

Parameters

ParameterTypeJavaScriptLuaDescription
controlintnumberintegersee isControlEnabled
actionintnumberinteger

Returns

float JavaScript number, Lua number

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 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

Open in the interactive natives reference