Random Team For player
#2

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
Reply


Messages In This Thread
Random Team For player - by UFF - 11.04.2018, 14:47
Re: Random Team For player - by RANGER44 - 11.04.2018, 15:36
Re: Random Team For player - by Wanheda - 11.04.2018, 19:18

Forum Jump:


Users browsing this thread: 1 Guest(s)