networkGetNumParticipants
NETWORK_GET_NUM_PARTICIPANTS0x18D0456E86604654The GTA V native NETWORK_GET_NUM_PARTICIPANTS of the NETWORK namespace, as LS:MP client scripts call it: the global function networkGetNumParticipants, in JavaScript and in Lua.
networkGetNumParticipants(): numbernetworkGetNumParticipants(): integerUsage
JavaScript
const result = networkGetNumParticipants();Lua
local result = networkGetNumParticipants()Parameters
None.
Returns
int JavaScript number, Lua integerReference
- Namespace
- Network NETWORK
- In the game
int NETWORK_GET_NUM_PARTICIPANTS()- Hash
0x18D0456E86604654