15.06.2015, 07:47
Код:
1. if(gTeam[i] == TEAM_DEFENDERS && fTeam[i] == TEAM_ATTACKERS) { //body } 2. else if(gTeam[i] == TEAM_ATTACKERS && fTeam[i] == TEAM_DEFENDERS) { //body } 3. else { //body when no one wins (timer runs out) }
2. If team attackers got unsuccessfull so the team defenders will win.
The point 2 is same as point 3. that you have mentioned the your codes.
Sorry for the bump. :c