BG_START_CONTEXT
Starts the background script context named contextName.
Signature
void BG_START_CONTEXT(const char* contextName); // 0x49BA5678BA040CA7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | contextName | const char* |
Facts
| Name | BG_START_CONTEXT |
|---|---|
| Hash | 0x49BA5678BA040CA7 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x49BA5678BA040CA7, -- BG_START_CONTEXT
"text" -- const char* contextName
)Citizen.invokeNative("0x49BA5678BA040CA7", // BG_START_CONTEXT
"text" // const char* contextName
);Function.Call((Hash)0x49BA5678BA040CA7, // BG_START_CONTEXT
"text" // const char* contextName
);Related SCRIPT natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.