Adding Custom Drugs
The config file has several drugs already in it, however these are really just placeholder drugs. This script is not meant to generate drugs. It's meant to be an in depth solution to being able to sell your drugs after you've created/procured them through other means. READ THIS GUIDE CAREFULLY TO AVOID SIMPLE MISTAKES
Each drug you add will be done so under the Config.Drugs
setting. Below is an example of two drugs added
The text between the square brackets [] is the item spawn name
These must all be unique!
These items must be in your
items.lua
file
NOTE: The label field is the same for both in the above config!
This config allows you to specify different "amounts" of drugs that can be split up using the
scales
itemIn order for the script to know these drugs are related, the label field must match for different amounts
The
amountType
field shows that the top one is a gram of coke, whereas the bottom on is a quarter ounce of cokeThere are four valid amount types
gram
quarter-ounce
ounce
kilo
This means that you can have at most four values in the config with the same label, but all with different item names and amounts
The rest should be relatively self explanatory, and several have extra comments in the config file itself. The above is just what we get the most questions about
Last updated