isConnected

(Redirected from IsConnected)

Variable Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read-Only

Available since Client 1.0.0

bool isConnected

The isConnected variable is used to fetch the server-connection status of the local client.

Value

bool A boolean, bool true if the client is connected to a server, bool false otherwise.
readonly This variable cannot be changed.

Notes

There aren't any notes for this variable.

Examples

There aren't any examples for this variable.

Compatibility

There isn't any compatibility information for this variable.

Related

Client Related

        addNetworkHandler
        connect
        disconnect
  gta.shutdownAndLaunchNetworkGame
        isConnected
        isConnecting
        removeNetworkHandler