Posts: 42
Threads: 6
Joined: Oct 2011
Reputation:
0
How the hell would I do that? I'm new to pawno, and I am sorry for such a simple question (At least it sounds so)
Posts: 1,196
Threads: 45
Joined: Jan 2012
Reputation:
0
can you explain what do you want..i didn't understand it correctly
Although, you can use the Random() function
Posts: 42
Threads: 6
Joined: Oct 2011
Reputation:
0
Well, I want to get every single player to randomize to eighter the team Murderer, but if there already is one murderer, the rest will go to the team SWAT.
Posts: 42
Threads: 6
Joined: Oct 2011
Reputation:
0
I'll try and explain it a bit better.
So, what I want to do, is simply have all the players check if someone is on the team "Murderer", if not, it'll pick one of the players, and the rest will go onto the SWAT team. This will happen every time I call StartRound(playerid)
Posts: 1,905
Threads: 63
Joined: Oct 2011
Reputation:
0
So you only want one person on the murder team?
Posts: 125
Threads: 3
Joined: Nov 2012
Reputation:
0
you can foreach player get if they are murderer or swat and place new player on the team with less or just a simple switch if a var ...lets say the var is "team"== 1 set player murderer and "team" =2 and if "team" == 2 set swat and "team"= 1
Posts: 42
Threads: 6
Joined: Oct 2011
Reputation:
0
Well, the thing is, that every player has to be forced to switch team, and if I did a if check, wouldn't it check the person who has the best connection first?