14.04.2009, 01:25
ok but what i wanted it do is have the server round it to the number of players in server,...
maby this?
maby this?
pawn Код:
stock CountPlayers()
{
new count = 0;
for (new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
count++;
}
}
return count;
}
new CurPlayers = CountPlayers()
new devide;
devide = (CurPlayers / 4);
/* and do the rest */ maby?