Installation

  1. Download the script from the repository.

  2. Extract the contents of the downloaded file to your FiveM server's resources directory.

  3. Add the following line to your server's server.cfg file:

    ensure bit-drugscreator
  4. Import the provided SQL file (sql.sql) into your database to create the necessary tables.

Usage

Admin Panel

To open the admin panel, use the command specified in the configuration file (config/shared.lua). The default command is /drugscreator. This command is restricted to users with the specified admin group.

Creating a Drug

  1. Open the admin panel using the command.

  2. Click on the "CREATE DRUG" button.

  3. Enter the name of the drug and configure the crafting and processing steps.

  4. Save the drug configuration.

Editing a Drug

  1. Open the admin panel using the command.

  2. Click on the "VIEW CREATED DRUGS" button.

  3. Select the drug you want to edit and make the necessary changes.

  4. Save the updated configuration.

Deleting a Drug

  1. Open the admin panel using the command.

  2. Click on the "VIEW CREATED DRUGS" button.

  3. Select the drug you want to delete and confirm the deletion.

Last updated