team wins
#1

Hi, I have two teams, Red and Blue.

I thought I should do:
pawn Code:
new bluecount = 0;
new redcount = 0;
pawn Code:
public OnPlayerSpawn()
{
     if(gTeam[playerid] == TEAM_BLUE)
     {
          bluecount++;
     }
     else(gTeam[playerid] == TEAM_RED)
     {
          redcount++;
      }
      return 1;
}
But i have a command to start a tdm round, so I do /start and it starts

But how do i make the round end? I tried setting a timer to detect if(bluecount == 0) red wins but didnt work
Reply


Messages In This Thread
team wins - by (_AcE_) - 19.07.2012, 23:24
Re: team wins - by (_AcE_) - 19.07.2012, 23:44
Re: team wins - by nepstep - 19.07.2012, 23:47
Re: team wins - by (_AcE_) - 20.07.2012, 01:21
Re: team wins - by [KHK]Khalid - 20.07.2012, 01:26
Re: team wins - by leonardo1434 - 20.07.2012, 01:55
Re: team wins - by [KHK]Khalid - 20.07.2012, 02:15
Re: team wins - by nepstep - 20.07.2012, 05:04
Re: team wins - by cessil - 21.07.2012, 09:19

Forum Jump:


Users browsing this thread: 2 Guest(s)