How need make stock selection random
#1

Cam someone make it random, because now every time elected the same person
Код:
stock Half()
{
	new Humans;
	foreach(new i : Player)
	{
	    if(Humans < 2)
	    {
	        HumanSetup(i);
	        printf("Selected humans");
	        Humans ++;
	    }
	    else
	    {
	        ZombieSetup2(i);
	        printf("Selected zombies");
	        Humans = 0;
	    }
	}
	printf("Finished Selecting teams");
	return 1;
}
Reply


Messages In This Thread
How need make stock selection random - by henkas - 12.02.2017, 20:39
Re: How need make stock selection random - by ISmokezU - 12.02.2017, 20:46
Re: How need make stock selection random - by henkas - 12.02.2017, 20:47
Re: How need make stock selection random - by ISmokezU - 12.02.2017, 20:50
Re: How need make stock selection random - by henkas - 12.02.2017, 21:07
Re: How need make stock selection random - by ISmokezU - 12.02.2017, 21:19
Re: How need make stock selection random - by henkas - 12.02.2017, 21:22

Forum Jump:


Users browsing this thread: 1 Guest(s)