SET_SCRIPT_WITH_NAME_HASH_AS_NO_LONGER_NEEDED
Hash
0x50723A1567C8361ERuntime name
SetScriptWithNameHashAsNoLongerNeededNamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC5BC038960E9DB27Signature
void SET_SCRIPT_WITH_NAME_HASH_AS_NO_LONGER_NEEDED(Hash scriptHash);Parameters
| Name | Type | Description |
|---|---|---|
scriptHash | Hash | — |
Returns void
Usage
SetScriptWithNameHashAsNoLongerNeeded(scriptHash)
-- always works, by hash
Citizen.InvokeNative(0x50723A1567C8361E, scriptHash)JavaScript and C#
SetScriptWithNameHashAsNoLongerNeeded(scriptHash);
// by hash
Citizen.invokeNative('0x50723A1567C8361E', scriptHash);Function.Call((Hash)0x50723A1567C8361E, scriptHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.