GET_HASH_OF_THIS_SCRIPT_NAME
Hash
0xBC2C927F5C264960Runtime name
GetHashOfThisScriptNameNamespaceSCRIPT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x8A1C8B1738FFE87ESignature
Hash GET_HASH_OF_THIS_SCRIPT_NAME();Returns Hash
Usage
local retval = GetHashOfThisScriptName()
-- always works, by hash
local retval = Citizen.InvokeNative(0xBC2C927F5C264960, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetHashOfThisScriptName();
// by hash
const retval = Citizen.invokeNative('0xBC2C927F5C264960', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xBC2C927F5C264960);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.