ControlsClient

haveControlsChanged

HAVE_CONTROLS_CHANGED0x6CD79468A1E595C6

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

SignatureJavaScript
haveControlsChanged(control: number): boolean
SignatureLua
haveControlsChanged(control: integer): boolean

Usage

JavaScript
const result = haveControlsChanged(control);
Lua
local result = haveControlsChanged(control)

Parameters

ParameterTypeJavaScriptLuaDescription
controlintnumberintegerunused parameter

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Controls PAD
In the game
BOOL HAVE_CONTROLS_CHANGED(int control)
Hash
0x6CD79468A1E595C6

Open in the interactive natives reference