NETWORK_GET_HOST_OF_THIS_SCRIPT
Hash
0xC7B4D79B01FA7A5CRuntime name
NetworkGetHostOfThisScriptNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1232
GTA V hash
0xC7B4D79B01FA7A5CSignature
Player NETWORK_GET_HOST_OF_THIS_SCRIPT();Returns Player
Usage
local retval = NetworkGetHostOfThisScript()
-- always works, by hash
local retval = Citizen.InvokeNative(0xC7B4D79B01FA7A5C, Citizen.ResultAsInteger())JavaScript and C#
const retval = NetworkGetHostOfThisScript();
// by hash
const retval = Citizen.invokeNative('0xC7B4D79B01FA7A5C', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xC7B4D79B01FA7A5C);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.