bgEndContext
BG_END_CONTEXT0xDC2BACD920D0A0DDThe GTA V native BG_END_CONTEXT of the SCRIPT namespace, as LS:MP client scripts call it: the global function bgEndContext, in JavaScript and in Lua.
bgEndContext(contextName: string): voidbgEndContext(contextName: string)✕
Blocked for scripts: Game script threads
Resources do not start, stop or adopt the game's own compiled scripts. Your code runs as an LS:MP resource.
Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.
Reference
- Namespace
- Script SCRIPT
- In the game
void BG_END_CONTEXT(const char* contextName)- Hash
0xDC2BACD920D0A0DD