Random between 4 numbers
#1

Код:
RandomMatsAmount(){
  new rand = random(4);
					switch(rand)
					{
							case 0: 25000;
							case 1: 50000;
							case 2: 75000;
							case 3: 100000;
					}
		
	return 1;
}
I tryed this but i gues case: can't use only int it has to be a variable or function or someting
Reply


Messages In This Thread
Random between 4 numbers - by Zloto - 05.05.2015, 21:19
Re: Random between 4 numbers - by Kyle - 05.05.2015, 21:21
Re: Random between 4 numbers - by Kar - 05.05.2015, 21:25
Re: Random between 4 numbers - by Zloto - 05.05.2015, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)