11.04.2018, 15:36
Uhmm like this? (replace)
Код:
new Mafia, Ranger; foreach(Player, i) { if(GetPlayerTeam(i) == 1) ++Mafia; else if(GetPlayerTeam(i) == 2) ++Ranger; } SetPlayerTeam(playerid, (Mafia> Ranger)+1); // This will be either 1 or 2