bgStartContextHash
BG_START_CONTEXT_HASH0x75B18E49607874C7The GTA V native BG_START_CONTEXT_HASH of the SCRIPT namespace, as LS:MP client scripts call it: the global function bgStartContextHash, in JavaScript and in Lua.
bgStartContextHash(contextHash: Hash): voidbgStartContextHash(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_START_CONTEXT_HASH(Hash contextHash)- Hash
0x75B18E49607874C7