BG_START_CONTEXT
Inserts the given context into the background scripts context map.
Hash
0x49BA5678BA040CA7Runtime name
BgStartContextNamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x9D5A25BADB742ACDNot called by the game's own scripts — behaviour may be incomplete.
Signature
void BG_START_CONTEXT(const char* contextName);Parameters
| Name | Type | Description |
|---|---|---|
contextName | const char* | — |
Returns void
Description
Inserts the given context into the background scripts context map.
Usage
BgStartContext(contextName)
-- always works, by hash
Citizen.InvokeNative(0x49BA5678BA040CA7, contextName)JavaScript and C#
BgStartContext(contextName);
// by hash
Citizen.invokeNative('0x49BA5678BA040CA7', contextName);Function.Call((Hash)0x49BA5678BA040CA7, contextName);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.