RedM Natives

BG_END_CONTEXT_HASH

Hashed version of BG_END_CONTEXT

Hash0x6D1431744182CDE8
Runtime nameBgEndContextHash
NamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x107E5CC7CA942BC1

Not called by the game's own scripts — behaviour may be incomplete.

Signature

void BG_END_CONTEXT_HASH(Hash contextHash);

Parameters

NameTypeDescription
contextHashHash—

Returns void

Description

Hashed version of BG_END_CONTEXT

Usage

Lua
BgEndContextHash(contextHash)

-- always works, by hash
Citizen.InvokeNative(0x6D1431744182CDE8, contextHash)
JavaScript and C#
JavaScript
BgEndContextHash(contextHash);

// by hash
Citizen.invokeNative('0x6D1431744182CDE8', contextHash);
C#
Function.Call((Hash)0x6D1431744182CDE8, contextHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.