ScriptClient

bgIsExitflagSet

BG_IS_EXITFLAG_SET0x836B62713E0534CA

The GTA V native BG_IS_EXITFLAG_SET of the SCRIPT namespace, as LS:MP client scripts call it: the global function bgIsExitflagSet, in JavaScript and in Lua.

SignatureJavaScript
bgIsExitflagSet(): boolean
SignatureLua
bgIsExitflagSet(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Script SCRIPT
In the game
BOOL BG_IS_EXITFLAG_SET()
Hash
0x836B62713E0534CA
Formerly
_BG_EXITED_BECAUSE_BACKGROUND_THREAD_STOPPED

Open in the interactive natives reference