Make this team balance random - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Make this team balance random (
/showthread.php?tid=575051)
Make this team balance random -
Blackazur - 23.05.2015
Hello, how to make this team balance random without that it's chosing after ID's?
Код:
stock TeamBalance()
{
new Humans;
foreach(Player, i)
{
if(Humans < 3)
{
HumanSetup(i);
printf("Selected humans");
Humans ++;
}
else
{
ZombieSetup2(i);
printf("Selected zombies");
Humans = 0;
}
}
printf("Finished Selecting teams");
return 1;
}
AW: Make this team balance random -
Blackazur - 28.05.2015
How?