๐Ÿ’Š [ESX][QB-Core] Drugs Creator - All-In-One In-Game Admin Menu for Drug Harvesting, Crafting, Selling, and Use

Cant wait to have a look at this, ive been searching for a good drug script for a while

Looks very nice

1 Like

This is exactly what i wanted

1 Like

Is it easy to create new drugs?

1 Like

Hello, yes it is, here is a template you can use to add new drugs:

Config.drugsRecipes = {
    -- min is the minimum amount of that ingredient needed
    -- max is the maximum amount of that ingredient that can be used
    -- perfect is a bonus that the player receives if the quantities of the ingredients are in the perfect quantity (must be between min and max)
    drugItemName_1 = {
        ["ingredient_1"] = {min = 1, max = 10, perfect = 5},
        ["ingredient_2"] = {min = 1, max = 10, perfect = 5},
        ["ingredient_3"] = {min = 1, max = 10, perfect = 5},
    },
    drugItemName_2 = {
        ["ingredient_1"] = {min = 15, max = 10, perfect = 5},
        ["ingredient_5"] = {min = 5, max = 20, perfect = 15},
        ["ingredient_3"] = {min = 2, max = 4, perfect = 6},
    },
}

1 Like

Can I create as many drugs as I want?

1 Like

Yes, you can use the template I sent in the message before your one to create drugs

Cool smoke :yum:

2 Likes

Can smoke color be changed?

1 Like

Hi, yes, currently itโ€™s random but it can be changed in a RGB color you prefer

1 Like

Update 1.3

  • Added possibility to sell drugs to NPCs
1 Like

Update 1.4

  • Police will be called if NPC doesnโ€™t accept the sell
  • Added time in sh_config.lua to NPC sell (not instant anymore)
2 Likes

Can players buy these drugs from other players? Lets say i want to run a drug economy between players. Can i purchse the drugs off the players and they give me drugs?

Thanks.

1 Like

Hello, the script will provide the items and players can buy it from each others

1 Like

Update 1.5

  • When a player uses wrong ingredients, a fire will start on around (you can enable/disable in cl_config.lua)
  • Fixed compatibility issues with older ESX versions for NPC selling
3 Likes

Is it 100% sure that recipes canโ€™t be revealed from cheaters?

1 Like

Hello, recipes are handled from server side, so cheaters wonโ€™t be able to know recipes from client files

2 Likes

Well, thanks a lot

1 Like

You are welcome :+1:

1 Like

is their any way we can make it that police must be โ€œonlineโ€ to sell? make it a config option?

2 Likes