26.07.2012, 19:45
Код:
new stolenMoney = 1, robChance = random(5);
switch(robChance) {
case 0: stolenMoney = 0;
case 1..4: {
stolenMoney * 1000 * robChance;
}
}
new stolenMoney = 1, robChance = random(5);
switch(robChance) {
case 0: stolenMoney = 0;
case 1..4: {
stolenMoney * 1000 * robChance;
}
}
new stolenMoney = 1, robChance = random(5);
switch(robChance) {
case 0: stolenMoney = 0;
case 1..4: {
stolenMoney = stolenMoney * 1000 * robChance;
}
}
new stolenMoney = 1000 * random(5);