isPlayerSwitchInProgress
IS_PLAYER_SWITCH_IN_PROGRESS0xD9D2CFFF49FAB35FThe GTA V native IS_PLAYER_SWITCH_IN_PROGRESS of the STREAMING namespace, as LS:MP client scripts call it: the global function isPlayerSwitchInProgress, in JavaScript and in Lua.
isPlayerSwitchInProgress(): booleanisPlayerSwitchInProgress(): booleanUsage
JavaScript
const result = isPlayerSwitchInProgress();Lua
local result = isPlayerSwitchInProgress()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns true if the player is currently switching, false otherwise.
(When the camera is in the sky moving from Trevor to Franklin for example)
Reference
- Namespace
- Streaming STREAMING
- In the game
BOOL IS_PLAYER_SWITCH_IN_PROGRESS()- Hash
0xD9D2CFFF49FAB35F