NETWORK_IS_CONNECTED_VIA_RELAY
Old name: _NETWORK_IS_CONNECTION_ENDPOINT_RELAY_SERVER
Hash
0x16D3D49902F697BBRuntime name
NetworkIsConnectedViaRelayNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x16D3D49902F697BBNot called by the game's own scripts — behaviour may be incomplete.
Signature
BOOL NETWORK_IS_CONNECTED_VIA_RELAY(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns BOOL
Description
Old name: _NETWORK_IS_CONNECTION_ENDPOINT_RELAY_SERVER
Usage
local retval = NetworkIsConnectedViaRelay(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0x16D3D49902F697BB, player, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = NetworkIsConnectedViaRelay(player);
// by hash
const retval = Citizen.invokeNative('0x16D3D49902F697BB', player, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x16D3D49902F697BB, player);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.