The Lab
SCRIPT native

BG_END_CONTEXT

returns void1 parambuild 1207

Ends the background script context named contextName.

Signature

C
void BG_END_CONTEXT(const char* contextName); // 0x3ABF7BA1C3E2C8CF b1207

Parameters

#NameType
1contextNameconst char*

Facts

Facts about BG_END_CONTEXT
Name
BG_END_CONTEXT
Hash
0x3ABF7BA1C3E2C8CF
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(0x3ABF7BA1C3E2C8CF, -- BG_END_CONTEXT
  "text" -- const char* contextName
)
JavaScript
Citizen.invokeNative("0x3ABF7BA1C3E2C8CF", // BG_END_CONTEXT
  "text" // const char* contextName
);
C#
Function.Call((Hash)0x3ABF7BA1C3E2C8CF, // BG_END_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.