Download the script and extract it in your resources
Add the script in your auto start (example: server.cfg)
The script will automatically setup the database, in case it doesn't, you can manually run the files in drugs_creator/sql/ folder
Adding the items - Optional
If you want to use the default items/drugs, follow the steps below
To add the premade items/drugs, you only have to run the file drugs_creator/sql/items_limit.sqlordrugs_creator/sql/items_weight.sql depending on your server, if it uses the limit or the weight
The latest version of ESX uses weight
If it doesn't work, be sure to use the latest version of the official ESX with the dependencies
Download the script and extract it in your resources
Add the script in your auto start (example: server.cfg)
The script will automatically setup the database, in case it doesn't, you can manually run the files in drugs_creator/sql/ folder
Download and extract the script menu_default (clickable link) in your resources, without renaming it, and add it to auto start (example: server.cfg)
Adding the items - Optional
To add the new items, you have to edit qb-core/shared/items.lua file and add at the bottom of the table the following code
After the database is setup correctly, you can delete the files in drugs_creator/sql/ folder, so the script won't try to setup the database each time you start the script