NetworkClient

networkIsCableConnected

NETWORK_IS_CABLE_CONNECTED0xEFFB25453D8600F9

The GTA V native NETWORK_IS_CABLE_CONNECTED of the NETWORK namespace, as LS:MP client scripts call it: the global function networkIsCableConnected, in JavaScript and in Lua.

SignatureJavaScript
networkIsCableConnected(): boolean
SignatureLua
networkIsCableConnected(): boolean

Usage

JavaScript
const result = networkIsCableConnected();
Lua
local result = networkIsCableConnected()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_IS_CABLE_CONNECTED()
Hash
0xEFFB25453D8600F9

Open in the interactive natives reference