BG_START_CONTEXT_HASH
Starts the background script context identified by contextHash.
Signature
void BG_START_CONTEXT_HASH(Hash contextHash); // 0x2EB67D564DCC09D5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | contextHash | Hash |
Facts
| Name | BG_START_CONTEXT_HASH |
|---|---|
| Hash | 0x2EB67D564DCC09D5 |
| 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(0x2EB67D564DCC09D5, -- BG_START_CONTEXT_HASH
GetHashKey("name") -- Hash contextHash
)Citizen.invokeNative("0x2EB67D564DCC09D5", // BG_START_CONTEXT_HASH
GetHashKey("name") // Hash contextHash
);Function.Call((Hash)0x2EB67D564DCC09D5, // BG_START_CONTEXT_HASH
(uint)API.GetHashKey("name") // Hash contextHash
);Related SCRIPT natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.