27.01.2015, 20:18
Or create an array with numbers
Код:
new theArray[] = {1, 3}, theRandom = random(sizeof theArray); switch(theArray[theRandom]) { case 1: ... case 3: ... }