17.01.2017, 11:22
hi, i have little problem here
this my code [from zombie apocalypse]
my think
if player under 5, spawn 1 blue team
if player more than 5, spawn 2 blue team
this my code [from zombie apocalypse]
Код:
stock SpawnSetup()
{
new count = 0;
new Random = Iter_Random(Player);
foreach(Player, i)
{
if(team[i] == TEAM_RED) count++;
if(count == Iter_Count(Player))
{
BlueTeam(Random);
}
}
return 1;
}
if player under 5, spawn 1 blue team
if player more than 5, spawn 2 blue team

