The Lab
SCRIPT native

BG_START_CONTEXT

returns void1 parambuild 1207

Starts the background script context named contextName.

Signature

C
void BG_START_CONTEXT(const char* contextName); // 0x49BA5678BA040CA7 b1207

Parameters

#NameType
1contextNameconst char*

Facts

Facts about BG_START_CONTEXT
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.

Lua
Citizen.InvokeNative(0x49BA5678BA040CA7, -- BG_START_CONTEXT
  "text" -- const char* contextName
)
JavaScript
Citizen.invokeNative("0x49BA5678BA040CA7", // BG_START_CONTEXT
  "text" // const char* contextName
);
C#
Function.Call((Hash)0x49BA5678BA040CA7, // BG_START_CONTEXT
  "text" // const char* contextName
);
All SCRIPT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.