NetworkClient

getMaxNumNetworkObjects

GET_MAX_NUM_NETWORK_OBJECTS0xC7BE335216B5EC7C

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

SignatureJavaScript
getMaxNumNetworkObjects(): number
SignatureLua
getMaxNumNetworkObjects(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Network NETWORK
In the game
int GET_MAX_NUM_NETWORK_OBJECTS()
Hash
0xC7BE335216B5EC7C

Open in the interactive natives reference