NETWORK_HAS_CONTROL_OF_NETWORK_ID
Hash
0x4D36070FE0215186Runtime name
NetworkHasControlOfNetworkIdNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x4D36070FE0215186Signature
BOOL NETWORK_HAS_CONTROL_OF_NETWORK_ID(int netId);Parameters
| Name | Type | Description |
|---|---|---|
netId | int | — |
Returns BOOL
Usage
local retval = NetworkHasControlOfNetworkId(netId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4D36070FE0215186, netId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = NetworkHasControlOfNetworkId(netId);
// by hash
const retval = Citizen.invokeNative('0x4D36070FE0215186', netId, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x4D36070FE0215186, netId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.