๐Ÿ› ๏ธ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

  1. Script Supports QB and ESX Frameworks Only

  2. Script Support qb-target, ox_target

  3. You can configure drug dealer UI opening either by using a command or an item

  4. 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)

  5. CodeStudio.PriceChangeAtNight It will multiply drug selling prices at night (Disable is 0)

  6. CodeStudio.MaxQSellDrug is the Maximum Quantity of Drug, Player can sell at one time to NPC

  7. You can set Ped Steal and Cops calling chance like this:

  8. You can Blacklist Drug selling peds by adding peds like this: For Ped Models Refer: https://docs.fivem.net/docs/game-references/ped-models/

  9. You can customize animations in the config

  10. Drug Selling Rewards can be configured between cash/bank or any item CodeStudio.Reward_Type = 'cash' --'cash/bank/item_name'

  11. Configurable Admin Command to manage XP System

  12. You can add your own police dispatch system Examples are given in the config itself

  13. Add Drug Zones and Customise Levels

    Example is Given in the Config

  14. Put Drug Item Images in cs_selldrug/ui/assets/img so they can appear in the UI

  15. Customize Drug Selling List with XP and random Prices

Events and Exports

Client Side

  1. Open Drug Dealer UI
    TriggerEvent('cs:selldrug:openUI') 

Last updated