networkGetMaxNumParticipants
NETWORK_GET_MAX_NUM_PARTICIPANTS0xA6C90FBC38E395EEThe GTA V native NETWORK_GET_MAX_NUM_PARTICIPANTS of the NETWORK namespace, as LS:MP client scripts call it: the global function networkGetMaxNumParticipants, in JavaScript and in Lua.
networkGetMaxNumParticipants(): numbernetworkGetMaxNumParticipants(): integerUsage
JavaScript
const result = networkGetMaxNumParticipants();Lua
local result = networkGetMaxNumParticipants()Parameters
None.
Returns
int JavaScript number, Lua integerReference
- Namespace
- Network NETWORK
- In the game
int NETWORK_GET_MAX_NUM_PARTICIPANTS()- Hash
0xA6C90FBC38E395EE- Formerly
_NETWORK_GET_NUM_PARTICIPANTS_HOST