28.10.2012, 07:35
pawn Код:
stock NewRound()
{
new count, count2;
for (new i = 0; i < MAX_PLAYERS; i ++)
{
if (IsPlayerConnected(i)) count++;
if (gTeam[i] == TEAM_ZOMBIE) count2++;
}
if (count1 == count2)
{
SendRconCommand("gmx");
}
return 1;
}
pawn Код:
CMD:newround(playerid, params[])
{
NewRound();
return 1;
}