RedM Natives

BG_START_CONTEXT_HASH

Hashed version of BG_START_CONTEXT

Hash0x2EB67D564DCC09D5
Runtime nameBgStartContextHash
NamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x75B18E49607874C7

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

Signature

void BG_START_CONTEXT_HASH(Hash contextHash);

Parameters

NameTypeDescription
contextHashHash—

Returns void

Description

Hashed version of BG_START_CONTEXT

Usage

Lua
BgStartContextHash(contextHash)

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

// by hash
Citizen.invokeNative('0x2EB67D564DCC09D5', contextHash);
C#
Function.Call((Hash)0x2EB67D564DCC09D5, 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.