30.01.2015, 19:06
Using a switch is an easy way to detect that.
pawn Код:
new debug = random(12);
switch(random(12))
{
case 0...5: format(string, 92, "%s press the button and it show number %d, which color is %s.", GetPlayerNameEx(playerid), debug);
case 6...12: format(string, 92, "%s press the button and it show number %d, which is black.", GetPlayerNameEx(playerid), debug);
}