05.05.2015, 21:21
Not sure how you want it but the function is fixed.
Quote:
RandomMatsAmount() { switch(random(4)) { case 0: { return 25000; } case 1: { 50000; } case 2: { 75000; } case 3: { 100000; } } return 1; } |