1 min bug time on AAD mode
#1

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++;
				}
			}
		}
  }
Reply


Messages In This Thread
1 min bug time on AAD mode - by knopke - 11.06.2010, 19:43
Re: 1 min bug time on AAD mode - by Kar - 11.06.2010, 19:53
Re: 1 min bug time on AAD mode - by knopke - 11.06.2010, 19:56
Re: 1 min bug time on AAD mode - by Hiddos - 11.06.2010, 19:59
1 min bug time on AAD mode - by knopke - 11.06.2010, 20:22
Re: 1 min bug time on AAD mode - by Kar - 11.06.2010, 20:39

Forum Jump:


Users browsing this thread: 1 Guest(s)