Analytics runs only if you accept. No names, codes or payment details are sent, and shopping works the same either way. Details: privacy and cookies.

  • Necessary Keeps your cart and this choice in your browser so the store works. We ask again after 12 months.
    Always on
  • Analytics (PostHog) Counts pages, clicks and store actions with your device type and rough location, and may record your visit with typed text hidden. Its cookie lasts 365 days. Data is stored in the EU. If you log in with Cfx.re, your visits count as one customer on each device where you accept, and your Cfx.re name is never sent.
    Off
  • Videos Product videos load from YouTube (Google) only when you press Play. YouTube may store data on your device. If you reject, Play opens the video on youtube.com in a new tab instead.
    When you press Play

With analytics on, the site keeps this visit's campaign source in this tab until you close it.

Change your choice any time with Cookie settings at the bottom of the page.

How to add drugs to your FiveM server

To add drugs to a FiveM server, install a drug script, add its items to your inventory and set up three stages in its config: where ingredients come from, how they’re processed and who buys the result. Our All-in-One Drug System V2 covers all three stages in one resource, on ESX, Qbox or QBCore. Police risk comes from alert chances on each sale.

Two more of our scripts each cover part of it, Ownable Drug Labs and Drug Selling to NPCs:

Script Ingredients Processing Selling Police risk
All-in-One Drug System V2 (tk_drugs) Plants in pots, picking fields, shops Placed equipment with a minigame each, labs with NPC workers Street NPCs and the Plug app Alert chance on sales, deliveries and pickpocketing
Ownable Drug Labs (esx_tk_drugs, qb_tk_drugs) None by default; each lab item can list a need The lab generates meth, coke or weed every 30 minutes by default Darkchat offers from clients and dealers Police raids, alerts on sales, a police count to sell
Drug Selling to NPCs (esx_tk_selldrugs, qb_tk_selldrugs) None None Price negotiation with pedestrians Alert and robbery chances, a police count to sell

The rest of this guide sets up All-in-One Drug System V2. Every file path is inside tk_drugs.

Before you start

  • A server running ESX, Qbox or QBCore, with oxmysql or mysql-async.
  • ox_inventory, qb-inventory, qs-inventory or ESX’s own inventory. ox_target or qb-target is optional.
  • The two free model packs the README links to: weed props and mushrooms.
  • A game build that has the models. Our docs use build 3258.

Install the resource

  1. Put the tk_drugs folder in your resources folder.
  2. In server.cfg, add ensure tk_drugs after your framework, oxmysql and your inventory.
  3. Import tk_drugs.sql into your database.
  4. In config.lua, set Config.Framework to 'esx' or 'qb'. Qbox runs QBCore scripts through its QBCore bridge, so on Qbox you use 'qb' too.
  5. Set Config.Inventory to 'ox' for ox_inventory (which Qbox uses) or 'qs' for qs-inventory. For the framework’s own inventory, use 'default'. That means ESX’s built-in inventory, or qb-inventory on QBCore.
  6. Set Config.Target to 'ox', 'qb' or 'none'. Config.Dispatch is covered under police risk.
  7. Add the script’s items to your inventory. The README lists all 133, in both ox_inventory and qb-inventory format. The items guide shows where each format goes.
  8. Restart the server. You shouldn’t see any tk_drugs errors in the console.

Set where ingredients come from

  1. In Config.Shops, edit the two shops. The General Store sells seeds, pots, fertilizer, water, the precursors and the trap_phone. The Equipment Store sells ovens, tables, the press, lamps and shelves. Each line is an item name, a price and an amount.
  2. In Config.Plants, each seed lists the items it needs (a plant_pot by default), its growth stages and its yield. Each stage has a time, but the last stage’s time does nothing. A plant only dies when its water or fertilizer reaches 0.
  3. In Config.PlantSettings, set how fast water and fertilizer drain, and maxPlantsPerPlayer (100 by default). If plants should only grow while their owner is online, set Config.OnlineOnlyGrowth = true.
  4. In Config.Fields, set picking areas with a centre, a radius and the plants that spawn there. The default field grows three mushroom types and rye_ergot.

Heroin and LSD don’t grow from a seed. For heroin, players buy poppy_resin and acetic_anhydride. For LSD, they buy diethylamine and rye_ergot, which they can also pick in the field. Then they process them.

Set how drugs are processed

  1. In Config.EquipmentItems, each piece of equipment is an item that places a prop. Its recipes list the need and get items. The meth oven, for example, turns 3 liquid_meth and an empty_tray into a liquid_meth_tray, and hammers a meth_tray into 10 meth.
  2. Players buy equipment from the shop and place it. If you’d rather put equipment at fixed spots, add entries to Config.EquipmentLocations.
  3. To allow equipment only inside labs, set Config.PlaceOnlyInsideLabs = true. List any no-build zones in Config.DisabledAreas.
  4. In Config.PhoneSettings, set labPrice, maxOwnedLabs (1 by default) and sellPercentage, which is the share of the price a player gets back when they sell a lab. Players buy labs from the trap phone, and there are meth, weed and coke interiors.

Set who buys and for how much

  1. In Config.Selling.items, each street-sale drug has a price range, a maxAmount and a baseChance. Only items listed here sell to street NPCs. An empty table turns street selling off.
  2. The more a player offers at once, the lower the chance. Offering the full maxAmount halves baseChance.
  3. Set Config.Selling.minPolice to how many police must be online before street sales work (0 by default). Set moneyType to the account sales pay into.
  4. In Config.PlugApp, set sellMode to 'walkup' or 'delivery'. With 'walkup' the customer walks up to the player, and with 'delivery' the player goes to the customer.

Set police risk

  1. In Config.PoliceJobs, list the jobs that count as police (police and sheriff by default).
  2. In Config.PoliceAlerts, each activity has its own alert chance. By default, a failed street sale alerts police 50% of the time and a successful one never does. A failed pickpocket alerts them 25% of the time, and a Plug delivery 10%.
  3. Set Config.Dispatch to 'tk' for our Dispatch System or 'cd' for cd_dispatch. Any other value, including the empty default, sends the script’s own alert to online players whose job is in Config.PoliceJobs.

Add a drug of your own

  1. Add the item to your inventory, the same way as the shipped items.
  2. Give players a way to get it: add it to a recipe’s get in Config.EquipmentItems, or to a plant’s yield.
  3. Add it to Config.Selling.items with a price range, maxAmount and baseChance.
  4. To make it usable, add it to Config.Drugs with a drugType, an animation and its effects. The comment before Config.Drugs lists the effects you can use, such as RunningSpeedIncrease and GlitterBomb.

Labs that produce on their own: Ownable Drug Labs

Ownable Drug Labs is a separate script. It comes as an ESX package and a QBCore package that also runs on Qbox. Players buy one of 11 labs on a darkweb tablet (Config.TabletItem, darkweb_tablet). By default each lab generates 5 meth, weed or coke every 30 minutes, with no ingredients. To make it use chemicals, uncomment the need example under Config.Interiors.

Darkchat offers buy the drugs, and dealers show up once an area’s reputation reaches 100. Police can enter a lab and seize items, and Config.Police.needed.sellDrugs sets how many police are needed for sales (1 by default). Other players can destroy labs with bolt_cutters. The ESX package’s SQL file adds darkweb_tablet and bolt_cutters to the items table.

Selling only: Drug Selling to NPCs

Drug Selling to NPCs handles the selling stage and nothing else. It comes as an ESX package and a QBCore package that also runs on Qbox. It sells whatever items are named in its Config.Drugs, so it can sell drugs made by another script. The player names a price and the NPC makes a counter-offer. The risk comes from Config.PoliceRequired, Config.AlertPoliceChance (used when the NPC isn’t interested) and Config.RobChance.

Check it works

  1. /drugsadminmenu is a restricted command, so it only opens for players with the ACE permission for commands. In server.cfg, give your admin group that permission and add yourself to the group. The Cfx.re example server.cfg does this with add_ace group.admin command allow and add_principal.
  2. Give yourself an og_kush_seed and a plant_pot, and use the seed to place a plant. The pot appears with the first growth stage in it.
  3. Run /drugsadminmenu and you’ll see the plant listed. Restart the server and run it again. The plant is still there.

To see each stage in game, watch the All-in-One Drug System V2 showcase (9:34).

If it fails

  • Failed to load model x: the model comes from a newer GTA V game build. Update the server’s game build, or change that model name in config.lua (our docs).
  • The cursor sticks in the top-right corner: a client-side anticheat or another script is getting in the way of the menu. Change or remove that script.
  • An item has no picture in the script’s menus: Config.ImagePath doesn’t point at your inventory’s image folder, or the PNG isn’t there. The items guide has the paths.

Scripts in this guide

  • Grow weed and coca, cook meth, staff labs with NPC workers and sell to phone customers.

    Supports ESX, Qbox and QBCore

    Top 3 paid drug script on FiveM

    750+ servers (5Metrics, checked 11 November 2026)

    €19.99+ VAT at checkout, one-off

  • Buy labs on a darkweb tablet, hire workers and guards, and sell drugs to NPC clients.

    Supports ESX, Qbox and QBCore

    €19.99+ VAT at checkout, one-off

  • Sell drugs to pedestrians who counter your price, refuse, call the police or rob you.

    Supports ESX, Qbox and QBCore

    €9.99+ VAT at checkout, one-off

Server counts: 5Metrics, checked 11 November 2026. Detected servers running each script, rounded down.

Spin for a discount code

Every spin gets a code; chance sets its size.

Cfx.re login and joining our newsletter are needed for your code.

Checking whether you can spin…

Odds for every spin
DiscountChanceMinimum order
15% off60%None
20% off28%None
25% off10%€30.00 + VAT
30% off2%€39.00 + VAT

Wheel codes work on scripts, bundles and a monthly plan's first payment, not on gift cards. One spin per Cfx.re account every 90 days. Each code is valid for 14 days and works once, with one code per order.