The Lab
SCRIPT native

BG_END_CONTEXT_HASH

returns void1 parambuild 1207

Ends the background script context identified by contextHash.

Signature

C
void BG_END_CONTEXT_HASH(Hash contextHash); // 0x6D1431744182CDE8 b1207

Parameters

#NameType
1contextHashHash

Facts

Facts about BG_END_CONTEXT_HASH
Name
BG_END_CONTEXT_HASH
Hash
0x6D1431744182CDE8
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(0x6D1431744182CDE8, -- BG_END_CONTEXT_HASH
  GetHashKey("name") -- Hash contextHash
)
JavaScript
Citizen.invokeNative("0x6D1431744182CDE8", // BG_END_CONTEXT_HASH
  GetHashKey("name") // Hash contextHash
);
C#
Function.Call((Hash)0x6D1431744182CDE8, // BG_END_CONTEXT_HASH
  (uint)API.GetHashKey("name") // Hash contextHash
);
All SCRIPT natives

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