Configuration Guide
This is where you will find all the documentation covering the configuration for our script, if you need anything that is not a configurable option do not hesitate to reach out to use via discord!
For easier to read reasons both the ranks & drug configuration have there own category.
Make sure to configure the server.lua config too, scroll down to view the configuration guide for that.
client & server sided config
Here is where you can decide what framework you want to use. Note: If you choose “custom framework” you need to setup the framework and it’s functions in via “frameworks/custom.lua”.
Here is where you can add/remove the commands that will start the selling process.
Here is where you can enable/disable the context menu where if the player has more then 1 drug available to sell then it will pop up a selection menu.
Here is where you can decide the spawn distance that you want the ped spawning from the player.
The time (in seconds) it takes to sell on level 1
Here is where you can enable/disable the option to only allow selling at night.
Here is where you can add a list of jobs that is not allowed to sell drugs.
Here is where you can add a list of blacklisted coords with a radius to prevent drug selling.
Here is where you can enable/disable the police job, if enabled the configured job will get alerts if a client declines a drug sale.
Here is where you can configure the notification texts of when a ped declines a sale. (it will automatically select one from this list)
Here is where you can change all the text/notifications (support for other languages)
Here is where you can add/replace/remove the ped models that are spawned to come and collect the drugs.
The ped model must start with the back tick (`) otherwise it will not work properly.
Server Sided Config
On QBCore if you set the paytype to “markedbills” then make sure to decrease the price for each drug + disable the “RandomizePay” option.
This is where you will set the specific paytype that it will give you when a drug sale is completed.
If enabled, it will add a random number 1-200
This is where you can enable/disable & configure the command for players to check there dealer rank.
This is where you can enable/disable the option to use discord benifits, you can make where people with a specific discord role gets a increased sell price. (Requires trase_discord)