28.03.2011, 17:46
pawn Код:
forward EndRound();
public EndRound()
{
KillTimer(Eround);
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerPos(i, -1951.7103,641.6195,46.5625);
SendClientMessage(i,0xFFFFFFF, "You have a break!");
}
for(new i = 0;i < MAX_VEHICLES; i++)
{
SetVehicleHealth(i, 20);
}
Sround = SetTimer("StartRound", 50000, false);
return 1;
}
Like: when the timer is finally gone and the round ends, it ends the round unlimited times in row that means it laggs like hell, anyone has any ideas how to make it so it ends the round ONLY once?
Thank you allready!