ControlsClient

enableAllControlActions

ENABLE_ALL_CONTROL_ACTIONS0xA5FFE9B05F199DE7

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

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

Usage

JavaScript
enableAllControlActions(control);
Lua
enableAllControlActions(control)

Parameters

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

Open in the interactive natives reference