ScriptClientBlocked

bgEndContextHash

BG_END_CONTEXT_HASH0x107E5CC7CA942BC1

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

SignatureJavaScript
bgEndContextHash(contextHash: Hash): void
SignatureLua
bgEndContextHash(contextHash: Hash)
✕
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_HASH(Hash contextHash)
Hash
0x107E5CC7CA942BC1

Open in the interactive natives reference