19.07.2012, 23:24
Hi, I have two teams, Red and Blue.
I thought I should do:
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
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 how do i make the round end? I tried setting a timer to detect if(bluecount == 0) red wins but didnt work