24.04.2014, 14:46
Hello,
I need some help scripting a weed plant system with percentages.
I've added 5 different sorts of weed, now I need some help adding them into the plant system.
The normal plant is already implentet, it works fine and gives regular low quality skunk. I need some help adding a percent system, here's an example of what I need:
EXAMPLE:
You plant some seeds and the plant will randomly pick one of the 5 sorts based on the percentages.
50 percent chance of getting pot.
20 percent change of getting Skunk.
15 percent chance of getting Super Skunk.
10 percent change of getting Bubblegum Skunk.
5 percent chance of getting AK-47 Skunk.
Note; I'm using ZCMD.
I need some help scripting a weed plant system with percentages.
I've added 5 different sorts of weed, now I need some help adding them into the plant system.
The normal plant is already implentet, it works fine and gives regular low quality skunk. I need some help adding a percent system, here's an example of what I need:
EXAMPLE:
You plant some seeds and the plant will randomly pick one of the 5 sorts based on the percentages.
50 percent chance of getting pot.
20 percent change of getting Skunk.
15 percent chance of getting Super Skunk.
10 percent change of getting Bubblegum Skunk.
5 percent chance of getting AK-47 Skunk.
Note; I'm using ZCMD.