random
#1

debug = random( 12 );

format(string, 92, "%s press the button and it show number %d.", GetPlayerNameEx(playerid),debug);

I wanna that it would be if numbers 1,2,3,4,5 it shows that "%s press the button and it show number %d which color is %s ."


but if numbers is 6,7,8,9,10,11,12 it shows that color is black, how to set value to random number?
Reply


Messages In This Thread
random - by tooMuch - 30.01.2015, 18:53
Re: random - by Schneider - 30.01.2015, 19:04
Re: random - by CalvinC - 30.01.2015, 19:06
Re: random - by tooMuch - 30.01.2015, 19:07
Re: random - by tooMuch - 30.01.2015, 19:35
Re: random - by CalvinC - 30.01.2015, 19:49
Re: random - by tooMuch - 30.01.2015, 20:30
Re: random - by tooMuch - 30.01.2015, 20:46

Forum Jump:


Users browsing this thread: 1 Guest(s)