StreamingClient

isSafeToStartPlayerSwitch

IS_SAFE_TO_START_PLAYER_SWITCH0x71E7B2E657449AAD

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

SignatureJavaScript
isSafeToStartPlayerSwitch(): boolean
SignatureLua
isSafeToStartPlayerSwitch(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Streaming STREAMING
In the game
BOOL IS_SAFE_TO_START_PLAYER_SWITCH()
Hash
0x71E7B2E657449AAD

Open in the interactive natives reference