LMX Drug Creator (Drug Selling V3) | FiveM Drug Script | Make Your Own Drugs In Game
FiveM drug script for ESX, QBCore and Qbox. Make every drug, lab and deal in game, then place the fields and draw the sale zones by walking the whole map.
A starter pack of 10 drugs and 32 places gets you running the same evening, and the LMX Prop Creator (sold separately) turns a photo into a model for your drug.
[[ frameworks : esx, qbcore, qbox ]] [[ version : 3.0.0 ]]
✅ Works with your server
Tested in game:
- ESX 1.12.4 with ox_inventory and ox_target, with its own default inventory, and with press-E prompts
- QBCore with qb-inventory and qb-target
- Qbox with ox_inventory and ox_target, and with press-E prompts
- Police alerts through the built-in alert on all three, and through ps-dispatch 3.0.0 on QBCore
Built from their docs: qs-inventory · cd_dispatch · core_dispatch · rcore_dispatch · qs-dispatch. If a dispatch script stops or fails, the alert falls back to the built-in one, so it is never lost.
Interaction: ox_target · qb-target · or press-E prompts with no target script at all.
Custom models (optional): the LMX Prop Creator, sold separately. Without it every drug uses a GTA prop and nothing breaks.
Languages: English, German, French, Spanish, Portuguese, Dutch, Italian, Polish, Turkish and Czech.
[[youtube:WdW1VQ8zjDI]]
⚡ The 30-second pitch
Type /drugcreator and every drug on your server is on one screen. Make a drug, set how it is made, walk to the spots and press E to place them, draw where it sells and go live. The drug, its places and its sale zones go live without a server restart. Players then grow it, cook it, sell it, wash the money and fight over the block.
- Make the drug. Name it, pick its look, its items, its effects, its price and its police rule. Checks on the same screen say what still blocks going live.
- Build the chain. Add stages: grow, gather, process, cook, package and combine. Set what goes in, what comes out and how long it takes.
- Place it. Walk to the spot, aim and press E. Fields, stations, labs, stashes, suppliers and buyers go where you stand.
- Draw where it sells. Walk the corners of a sale zone and press E at each one.
- Go live. Create the items and publish them into your inventory with one button each, then press Go live.
- Players take over. They plant, harvest, cook, bag it, type
/dealerand sell to buyers who walk up. Police get alerts, zones heat up and gangs fight for turf.
Want to skip the start? Import installs the starter pack in one go: kush, hash, cocaine, crack, meth, heroin, lean, ecstasy, LSD and mushrooms, with their full chains and 32 places around the map, dressed with props. Every drug and every place stays yours to change.
🔥 Features
🧪 Make a drug in game
- 🖥️ One screen per drug: look, items, effects, selling, police rule and the production chain, with live checks.
- 📸 The look: a GTA prop from a ready list (bags, bricks, pills, joints, cups and more) or any prop name. Or a custom model built from a photo with the LMX Prop Creator.
- 🎒 Items made for you: 22 pictures to pick from, a use with the drug in hand, and one button that puts them in your inventory. The Item Creator is not needed.
- 💊 12 kinds of effects: hunger, thirst, stress, health, armour, sprint speed, stamina, walk style, screen effect, drunk, camera shake and named modifiers. They end by themselves.
- 🚬 Six ways to take it: cup, bag, pill, brick, joint and syringe, each with its own clip.
🏭 Production
- ⛓️ Production chains of grow, gather, process, cook, package and combine stages, with level requirements and XP per stage.
- 🎮 Five minigames of its own: timing bar, arrow sequence, hold the heat, pour to the line and quick keys. Or an ox_lib skill check.
- ⭐ Quality from 1 to 100 that moves the price. It passes along the chain, and good minigame runs raise it.
- 🔥 Failed cooks can cost part of the inputs and give off smoke and fire. They can also call the police.
- ✋ Made by hand: recipes straight from the inventory with
/craft, or by using an item. - 🌱 Plants that need water, rot when nobody picks them, take fertiliser for a bigger harvest and stay through restarts.
📍 Place everything yourself
- 🚶 Walk-and-place builder for stations, fields, gather spots, stashes, suppliers, bulk buyers, labs and laundering spots. A ghost follows your aim and E places it.
- 🗺️ Sale zones drawn by walking their corners, with prices per drug and heat per zone.
- ↩️ Every save is kept, so Undo last save brings the previous layout back.
- 📦 Starter pack: ten drugs and 32 places, installed from Import in one go.
- 🏪 Suppliers and stashes: suppliers sell what the recipes need with daily stock. Stashes are shared, one per player, or job only.
💵 Selling
- 🧍 Street selling: type
/dealerand buyers walk up to you, or walk up to anyone on the street. Car buyers can pull up too (a setting, off by default). - 🤝 Haggling: sell, ask for more or walk away. Push too hard and they leave.
- 🧾 A price breakdown on every offer: zone, level, heat, police, quality and turf.
- 🏃 Robberies: now and then a buyer grabs the bag and runs. Knock them down to take it back.
- 📦 Bulk buyers that take a lot at once, and delivery runs by van, boat or plane, the plane dropping its load from the air.
- 🔨 Auctions at secret spots, open to players of a set level.
- 🧼 Laundering spots with their own rate, daily limit, speed and police chance.
🚓 Police and heat
- 👮 Police online per drug or per stage. You choose how many officers must be in the city before anyone can make or sell it.
- 📡 Alerts through ps-dispatch, cd_dispatch, core_dispatch, rcore_dispatch, qs-dispatch or the built-in alert, with a map circle. Some come in as anonymous tips.
- 🔥 Heat per sale zone: busy zones call the police more, sell for less and turn more buyers away, so dealers spread out.
- 🚨 Using in public can get a player reported, and officers can destroy plants.
- 📈 Prices move with the police on duty.
🏠 Labs, gangs and levels
- 🔑 Labs players own: a door in the world into one of five business interiors, each its own copy. Buy it, give keys to your crew, ring the bell, upgrade it six ways and sell it back.
- 👷 Workers make the drug while the owner is away. Others can break in with a lockpick, and police can raid a lab and seize what is inside.
- 🏴 Turf: gangs (or chosen jobs on ESX) earn points by selling and hold sale zones, with better prices and less police. Hot zones give double points for a while.
- 🧑🤝🧑 Hired dealers sell for you on your turf, and can be arrested or robbed.
- 🏆 Levels with price multipliers, rewards (items and cars), a rank bar and a leaderboard.
- 💉 Addiction with cravings and withdrawal.
📊 For the server owner
- 📊 Dashboard: sales by day, week and month, street against bulk, best zones, money an hour, heat and plants.
- 🕒 Opening hours, sales caps and map markers for the places that need them, all from the editor.
- 📝 Discord logs (optional, off by default): sales, bulk deals, alerts, odd requests and editor changes. The webhook sits in a server-only file that players never receive.
- 🔒 Server authority: every price, count, check and roll is worked out on the server. A player's game only asks.
- 🛠️ Setup check: the bar in
/drugcreatornames your framework, inventory and dispatch, and lists anything missing or started in the wrong order.
📋 Before you buy
- Custom models need the LMX Prop Creator, a separate script with its own page. Check it for what it needs and costs. The Drug Creator opens it for you and picks up the result. Full 3D from one photo uses your own fal.ai key, about $0.02 a model, off until you add it.
- A custom model needs one full server restart before players see it. That is how GTA registers new models. Until then players see the GTA prop you chose as the fallback.
- ox_inventory: one paste step, once. At your first publish, you put one file the Drug Creator makes in place of
ox_inventory/data/items.lua. After that every publish is live by itself. Publishing restarts ox_inventory for a few seconds, which also clears items lying on the ground and temporary stashes. - qs-inventory gets a file to paste on every publish. The ESX default inventory: ESX 1.12 reads new items when the server starts, so restart once after you publish new items (ESX 1.13 and later take them at once). It has no stashes, so stash places say so.
- On ESX, hunger and thirst go through esx_status. Stress needs a status named stress that one of your resources registers. With the older esx_service duty system, ESX reports every officer as on duty, so every officer counts.
- Car buyers and Discord logs are off by default. You turn them on in
config/config.lua. - The starter pack's drug, stage and item names are in English in every language. They are data, not interface text.
- OneSync is required, along with
oxmysqlandox_lib. - Keep the folder name
lmx_drugcreator. Under another name the console and the editor warn you at every start. - FiveM for GTA V Enhanced can't load escrowed scripts yet. The Drug Creator runs on FiveM for GTA V (Legacy) until Cfx.re adds escrow to Enhanced.
- Withdrawal slowly drains health if a craving is ignored. You set how much in the config.
- Nothing in the Drug Creator sells in-game goods for real money. All money in it is in-game money.
🧰 Requirements and start order
Required: ox_lib and oxmysql, one of ESX, QBCore or Qbox, and one of ox_inventory, qb-inventory, qs-inventory or the ESX default inventory. Optional: lmx_propcreator for custom models.
Put both folders in resources/ and start them in this order. lmx_drugcreator_items is only needed with ox_inventory, and it has to start before ox_inventory.
ensure oxmysqlensure ox_libensureyour frameworkensure lmx_drugcreator_itemsensureyour inventoryensureyour target script, if you use oneensure lmx_propcreator, if you use custom modelsensure lmx_drugcreator, last
Then give your admin group access:
add_ace group.admin lmx_drugcreator.admin allowadd_ace group.admin lmx_prop.editor allow(only for custom models)add_ace resource.lmx_drugcreator command.saveinv allow(only for ox_inventory)
Restart the server and type /drugcreator. The database tables create themselves, so there is no SQL to import. Open Import and install the starter pack, or follow the five-minute guide in the docs to build your own drug.
⬆️ Own Advanced Drug Sales 2.5? Half price
The Drug Creator is Drug Selling V3, the next version of LMX Advanced Drug Sales 2.5 (Drug Selling 2.5 in the docs). Owners of 2.5 get 50% off. Open a ticket or send a DM in the LMX Discord with your 2.5 Tebex transaction ID and you get a one-use code.
- Import brings your setup over in one go: your drugs, your sale zones and your player levels. Run it twice and nothing is added twice.
- 2.5's
config.luais never read, so your webhook is not copied anywhere. Set your police jobs, selling chances and level rewards again in the new config, and put the webhook inconfig/server.lua. - Your 2.5 drugs keep selling the way they did. Open each one to add production stages, items and effects.
- Stop 2.5 after the import. While both run, the editor warns you, because both would sell the same items.
- Advanced Drug Sales 2.5 stays on sale as its own package.
📦 What's included
lmx_drugcreator: the editor, the whole game loop, the starter pack and ten languageslmx_drugcreator_items: the item file ox_inventory loads (open, so you can read it)- Open
config/,locales/,bridge/(framework, inventory, target and one small file per dispatch script),data/,icons/,html/and the docs. The rest of the Lua is protected by the asset escrow system. - The full manual (
DOCUMENTATION.md), the docs pages and the changelog
🛠️ Support
📖 Documentation: lmx-development.gitbook.io
💬 Discord support: ybnlimax.com/discord
Updates are free for life, and every release is listed in the changelog.
Built by LMX Development.

