StreamingClient

getPlayerShortSwitchState

GET_PLAYER_SHORT_SWITCH_STATE0x20F898A5D9782800

The GTA V native GET_PLAYER_SHORT_SWITCH_STATE of the STREAMING namespace, as LS:MP client scripts call it: the global function getPlayerShortSwitchState, in JavaScript and in Lua.

SignatureJavaScript
getPlayerShortSwitchState(): number
SignatureLua
getPlayerShortSwitchState(): integer

Usage

JavaScript
const result = getPlayerShortSwitchState();
Lua
local result = getPlayerShortSwitchState()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Streaming STREAMING
In the game
int GET_PLAYER_SHORT_SWITCH_STATE()
Hash
0x20F898A5D9782800

Open in the interactive natives reference