getPlayerSwitchState
GET_PLAYER_SWITCH_STATE0x470555300D10B2A5The GTA V native GET_PLAYER_SWITCH_STATE of the STREAMING namespace, as LS:MP client scripts call it: the global function getPlayerSwitchState, in JavaScript and in Lua.
getPlayerSwitchState(): numbergetPlayerSwitchState(): integerUsage
JavaScript
const result = getPlayerSwitchState();Lua
local result = getPlayerSwitchState()Parameters
None.
Returns
int JavaScript number, Lua integerReference
- Namespace
- Streaming STREAMING
- In the game
int GET_PLAYER_SWITCH_STATE()- Hash
0x470555300D10B2A5