NetworkClient

networkIsSignedOnline

NETWORK_IS_SIGNED_ONLINE0x1077788E268557C2

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

SignatureJavaScript
networkIsSignedOnline(): boolean
SignatureLua
networkIsSignedOnline(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns whether the game is not in offline mode.

seemed not to work for some ppl

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_IS_SIGNED_ONLINE()
Hash
0x1077788E268557C2

Open in the interactive natives reference