NetworkClient

networkCanEnterMultiplayer

NETWORK_CAN_ENTER_MULTIPLAYER0x7E782A910C362C25

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

SignatureJavaScript
networkCanEnterMultiplayer(): boolean
SignatureLua
networkCanEnterMultiplayer(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_CAN_ENTER_MULTIPLAYER()
Hash
0x7E782A910C362C25

Open in the interactive natives reference