21.07.2012, 09:19
Quote:
You're just commenting on this for the post count, you provided no help to this question at all. Please don't reply if you can't help me.
I obviously have OnPlayerDisconnect bluecount-- if they are blue team and they leave. I just need help, how would I get a round to end if everyone died? |
He was pointing out that when you re-spawn you'll be increasing the team count anyway so checking if it equals 0 is strange.
ie.
2 teams of 2 players each
team member from A team dies.
team member from A team dies.
team member from B team dies.
your variables would now be 4 for team A and 3 for team B seeing as it increases when they spawn.