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