REQUEST_SCRIPT_WITH_NAME_HASH
Hash
0xF6B9CE3F8D5B9B74Runtime name
RequestScriptWithNameHashNamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xD62A67D26D9653E6Signature
void REQUEST_SCRIPT_WITH_NAME_HASH(Hash scriptHash);Parameters
| Name | Type | Description |
|---|---|---|
scriptHash | Hash | — |
Returns void
Usage
RequestScriptWithNameHash(scriptHash)
-- always works, by hash
Citizen.InvokeNative(0xF6B9CE3F8D5B9B74, scriptHash)JavaScript and C#
RequestScriptWithNameHash(scriptHash);
// by hash
Citizen.invokeNative('0xF6B9CE3F8D5B9B74', scriptHash);Function.Call((Hash)0xF6B9CE3F8D5B9B74, 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.