22.05.2015, 01:58
Hello, how can i make that this chooses instead of one Player 2 Players?
Код:
stock OnePlayer() { new count = 0; new Random = Iter_Random(Player); foreach(Player, i) { if(team[i] == TEAM_RED) count++; if(count == Iter_Count(Player)) { SendClientMessage(playerid,COLOR_RED"You got chosen."); } } return 1; }