NETWORK_GET_MAX_NUM_PARTICIPANTS
for (num3 = 0; num3 < NETWORK::0xCCD8C02D(); num3++) if (NETWORK::NETWORK_IS_PARTICIPANT_ACTIVE(PLAYER::0x98F3B274(num3)) != 0) var num5 = NETWORK::NETWORK_GET_PLAYER_INDEX(PLAYER::0x98F3B274(num3));
Hash
0xA6C90FBC38E395EERuntime name
NetworkGetMaxNumParticipantsNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xA6C90FBC38E395EESignature
int NETWORK_GET_MAX_NUM_PARTICIPANTS();Returns int
Description
Seems to always return 0, but it's used in quite a few loops.
for (num3 = 0; num3 < NETWORK::0xCCD8C02D(); num3++)
{
if (NETWORK::NETWORK_IS_PARTICIPANT_ACTIVE(PLAYER::0x98F3B274(num3)) != 0)
{
var num5 = NETWORK::NETWORK_GET_PLAYER_INDEX(PLAYER::0x98F3B274(num3));Usage
local retval = NetworkGetMaxNumParticipants()
-- always works, by hash
local retval = Citizen.InvokeNative(0xA6C90FBC38E395EE, Citizen.ResultAsInteger())JavaScript and C#
const retval = NetworkGetMaxNumParticipants();
// by hash
const retval = Citizen.invokeNative('0xA6C90FBC38E395EE', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xA6C90FBC38E395EE);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.