RedM Natives

REQUEST_SCRIPT_WITH_NAME_HASH

Hash0xF6B9CE3F8D5B9B74
Runtime nameRequestScriptWithNameHash
NamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD62A67D26D9653E6

Signature

void REQUEST_SCRIPT_WITH_NAME_HASH(Hash scriptHash);

Parameters

NameTypeDescription
scriptHashHash—

Returns void

Usage

Lua
RequestScriptWithNameHash(scriptHash)

-- always works, by hash
Citizen.InvokeNative(0xF6B9CE3F8D5B9B74, scriptHash)
JavaScript and C#
JavaScript
RequestScriptWithNameHash(scriptHash);

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