24.03.2016, 12:01
Hi guys.
I want convert the following code to random ID.
And is not the ID of 0 to 10.
Thanks
I want convert the following code to random ID.
And is not the ID of 0 to 10.
Код:
stock GetPlayersInTeam(TEAM)
{
new players;
for (new i; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
if (gTeam[i] == TEAM) players++;
}
}
return players;
}


