🛠️Setup
This is a detailed setup guide for Drug Selling + Level Based Script. If you have any questions before making a purchase, you can contact us on Discord
Setting Up the Script
- Script Supports QB and ESX Frameworks Only 
- Script Support qb-target, ox_target 
- You can configure drug dealer UI opening either by using a command or an item  
- CodeStudio.MaxLevel is Max Drug Level that a player can reach and CodeStudio.XPNeedToLevel is How much XP each level contains (Ex. 100XP = 1 Level) 
- CodeStudio.PriceChangeAtNight It will multiply drug selling prices at night (Disable is 0) 
- CodeStudio.MaxQSellDrug is the Maximum Quantity of Drug, Player can sell at one time to NPC 
- You can set Ped Steal and Cops calling chance like this:  
- You can Blacklist Drug selling peds by adding peds like this:  For Ped Models Refer: https://docs.fivem.net/docs/game-references/ped-models/ For Ped Models Refer: https://docs.fivem.net/docs/game-references/ped-models/
- You can customize animations in the config 
- Drug Selling Rewards can be configured between cash/bank or any item - CodeStudio.Reward_Type = 'cash' --'cash/bank/item_name'
- Configurable Admin Command to manage XP System  
- You can add your own police dispatch system Examples are given in the config itself 
- Add Drug Zones and Customise Levels  - Example is Given in the Config 
- Put Drug Item Images in cs_selldrug/ui/assets/img so they can appear in the UI 
- Customize Drug Selling List with XP and random Prices  
Events and Exports
Client Side
- TriggerEvent('cs:selldrug:openUI')
Last updated
