30.01.2015, 18:53
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?
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?