SA-MP Forums Archive
Need help with rondom zombies - 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: Need help with rondom zombies (/showthread.php?tid=423082)



Need help with rondom zombies - ignas1125 - 16.03.2013

Hi i need help with rondom zombies and humans now zombies are on the id always 3 and 6 id are zombies i need rondom :P
codes :
zombie
Код:
ZombieSetup(targetid);
SpawnPlayer(targetid);
and human
Код:
HumanSetup(targetid);
SpawnPlayer(targetid);



Re: Need help with rondom zombies - Denying - 16.03.2013

Show us the codes which makes them as zombies/humans.


Re: Need help with rondom zombies - ignas1125 - 16.03.2013

i think think this
Код:
public RandomZombie() return Half();

stock Half()
{
	new Humans;
	foreach(Player, i)
	{
	    if(Humans < 3)
	    {
	        HumanSetup(i);
	        ShowVipukasDialog(i);
	        ShowVerslas(i);
	        printf("Selected humans");
	        Humans ++;
	    }
	    else
	    {
	        ZombieSetup2(i);
	        ShowVerslas(i);
	        printf("Selected zombies");
	        Humans = 0;
	    }
	}
	printf("Finished Selecting teams");
	return 1;
}
i use kitten gamemode


Re: Need help with rondom zombies - Denying - 16.03.2013

Never mind.


Re: Need help with rondom zombies - ignas1125 - 16.03.2013

anyone ?