ControlsClient

setInputExclusive

SET_INPUT_EXCLUSIVE0xEDE476E5EE29EDB1

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

SignatureJavaScript
setInputExclusive(control: number, action: number): void
SignatureLua
setInputExclusive(control: integer, action: integer)

Usage

JavaScript
setInputExclusive(control, action);
Lua
setInputExclusive(control, action)

Parameters

ParameterTypeJavaScriptLuaDescription
controlintnumberintegersee isControlEnabled
actionintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Controls PAD
In the game
void SET_INPUT_EXCLUSIVE(int control, int action)
Hash
0xEDE476E5EE29EDB1

Open in the interactive natives reference