02.02.2019, 20:26
It's ok to create a random item between 1276,1550,1210 and 1247?
Код:
new RandomT = random(4); switch(RandomT) { case 0: { return 1276; } case 1: { return 1550; } case 2: { return 1210; } case 3: { return 2710; } case 4: { return 1247; } } ObiectTreasure = CreatePickup(RandomT, 21, gRandomPositions[rand][0], gRandomPositions[rand][1], gRandomPositions[rand][2]);