26.09.2009, 10:50
Maybe this will help:
Return the highest ID, or -1 if there are no highest ID (0 online players).
Example:
pawn Код:
stock GetHighestID()
{
new highestID = -1;
for(new i = 0; i < MAX_PLAYERS; i++) highestID = i;
return highestID;
}
Example:
pawn Код:
new HighestID = GetHighestID();

