ControlsClient

disableAllControlActions

DISABLE_ALL_CONTROL_ACTIONS0x5F4B6931816E599B

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

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

Usage

JavaScript
disableAllControlActions(control);
Lua
disableAllControlActions(control)

Parameters

ParameterTypeJavaScriptLuaDescription
controlintnumberintegersee isControlEnabled

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Controls PAD
In the game
void DISABLE_ALL_CONTROL_ACTIONS(int control)
Hash
0x5F4B6931816E599B

Open in the interactive natives reference