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