ControlsClient

isUsingRemotePlay

IS_USING_REMOTE_PLAY0x23F09EADC01449D6

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLuaDescription
controlintnumberintegersee isControlEnabled

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Hardcoded to return false.

Reference

Namespace
Controls PAD
In the game
BOOL IS_USING_REMOTE_PLAY(int control)
Hash
0x23F09EADC01449D6

Open in the interactive natives reference