networkGetActivityPlayerNum
NETWORK_GET_ACTIVITY_PLAYER_NUM0x73E2B500410DA5A2The GTA V native NETWORK_GET_ACTIVITY_PLAYER_NUM of the NETWORK namespace, as LS:MP client scripts call it: the global function networkGetActivityPlayerNum, in JavaScript and in Lua.
networkGetActivityPlayerNum(p0: boolean): numbernetworkGetActivityPlayerNum(p0: boolean): integerUsage
JavaScript
const result = networkGetActivityPlayerNum(p0);Lua
local result = networkGetActivityPlayerNum(p0)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | BOOL | boolean | boolean |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Network NETWORK
- In the game
int NETWORK_GET_ACTIVITY_PLAYER_NUM(BOOL p0)- Hash
0x73E2B500410DA5A2