Skip to main content
The installation of the script is extremely easy.

Requirements

  • ESX, QBCore, or OX Inventory
Do NOT use FileZilla to upload the files, otherwise the script will NOT work.Use WinSCP instead.
1

Download and extract

Download the script and extract it in your resources.
2

Add to auto start

Add the script in your auto start (example: server.cfg).
3

Database setup

The script will automatically set up the database. In case it doesn’t, you can manually run the files in the 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.sql or drugs_creator/sql/items_weight.sql, depending on whether your server uses limit or weight.
The latest version of ESX uses weight.
If it doesn’t work, be sure to use the latest official version of ESX with the required dependencies.
You are ready to go! Enjoy the script 😁

Verification

Open /drugscreator in-game. If the menu opens, the script is running correctly.

Optional step

After the database is set up correctly, you can delete the files in the drugs_creator/sql/ folder, so the script won’t try to set up the database each time you start it.