11.06.2010, 19:43
How i can fix bug 1 min at AAD mode?
Код:
forward ModeUpdate(); public ModeUpdate() { if(Current == -1) return 1; new string[256], aalive = 0, dalive = 0; ModeSec--; if(ModeSec < 0) { ModeSec = 60; ModeMin--; if(ModeMin <= 0) { DefWin(); return 1; } } for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && Player[i][pPlaying]) { switch(Player[i][pTeam]) { case T_ATT: { aalive++; } case T_DEF: { dalive++; } } } }