Percent on planting
#3

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
pawn Код:
switch(random(100)) {
    case 0..4: {} // AK-47
    case 5..14: {} // Bubblegum
    case 15..29: {} // Super
    case 30..49: {} // Skunk
    default: // pot
}
You could put the ranges anywhere into the 100 and leave the rest for the pot
But that should give you a good idea how it should look
Thanks a lot for answering.
Should I add the switch under /plant or /pick?
Reply


Messages In This Thread
Percent on planting - by Zens - 24.04.2014, 14:46
AW: Percent on planting - by Nero_3D - 24.04.2014, 18:13
Re: AW: Percent on planting - by Zens - 24.04.2014, 20:17
AW: Percent on planting - by Nero_3D - 24.04.2014, 20:22
Re: AW: Percent on planting - by Zens - 24.04.2014, 21:29
AW: Percent on planting - by Nero_3D - 25.04.2014, 12:32
Re: Percent on planting - by Zens - 25.04.2014, 14:27
Re: Percent on planting - by Zens - 28.04.2014, 18:48
AW: Percent on planting - by Macronix - 28.04.2014, 20:11

Forum Jump:


Users browsing this thread: 2 Guest(s)