ControlsClient

allowAlternativeScriptControlsLayout

ALLOW_ALTERNATIVE_SCRIPT_CONTROLS_LAYOUT0x7F4724035FDCA1DD

The GTA V native ALLOW_ALTERNATIVE_SCRIPT_CONTROLS_LAYOUT of the PAD namespace, as LS:MP client scripts call it: the global function allowAlternativeScriptControlsLayout, in JavaScript and in Lua.

SignatureJavaScript
allowAlternativeScriptControlsLayout(control: number): void
SignatureLua
allowAlternativeScriptControlsLayout(control: integer)

Usage

JavaScript
allowAlternativeScriptControlsLayout(control);
Lua
allowAlternativeScriptControlsLayout(control)

Parameters

ParameterTypeJavaScriptLuaDescription
controlintnumberintegersee isControlEnabled

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Controls PAD
In the game
void ALLOW_ALTERNATIVE_SCRIPT_CONTROLS_LAYOUT(int control)
Hash
0x7F4724035FDCA1DD

Open in the interactive natives reference