RedM Natives

SET_SCRIPT_WITH_NAME_HASH_AS_NO_LONGER_NEEDED

Hash0x50723A1567C8361E
Runtime nameSetScriptWithNameHashAsNoLongerNeeded
NamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC5BC038960E9DB27

Signature

void SET_SCRIPT_WITH_NAME_HASH_AS_NO_LONGER_NEEDED(Hash scriptHash);

Parameters

NameTypeDescription
scriptHashHash—

Returns void

Usage

Lua
SetScriptWithNameHashAsNoLongerNeeded(scriptHash)

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

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