NetworkClient

networkIsSessionActive

NETWORK_IS_SESSION_ACTIVE0xD83C2B94E7508980

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

SignatureJavaScript
networkIsSessionActive(): boolean
SignatureLua
networkIsSessionActive(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_IS_SESSION_ACTIVE()
Hash
0xD83C2B94E7508980

Open in the interactive natives reference