_NETWORK_GET_SESSION_HOST
Hash
0x8DC9AA3B508B1A85Runtime name
NetworkGetSessionHostNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Player _NETWORK_GET_SESSION_HOST();Returns Player
Usage
local retval = NetworkGetSessionHost()
-- always works, by hash
local retval = Citizen.InvokeNative(0x8DC9AA3B508B1A85, Citizen.ResultAsInteger())JavaScript and C#
const retval = NetworkGetSessionHost();
// by hash
const retval = Citizen.invokeNative('0x8DC9AA3B508B1A85', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x8DC9AA3B508B1A85);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.