> For the complete documentation index, see [llms.txt](https://tk-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk-scripts.gitbook.io/docs/tk_drugs.md). Agents can also search and read this documentation through its [MCP server](https://tk-scripts.gitbook.io/docs/~gitbook/mcp).

# tk\_drugs

Drugs lets players produce and sell six drugs on a FiveM server.

The script supports ESX, QBCore and Qbox, and the framework code is editable if you run another framework. Equipment comes from the built-in shop, or from fixed spawn locations you set in the config. Heroin and LSD start from ingredients bought in the shop, not from plants.

[All-in-One Drug System V2 product page](https://tkscripts.com/scripts/drugs?utm_source=gitbook\&utm_medium=docs\&utm_content=drugs) | [Subscription plans](https://tkscripts.com/subscriptions?utm_source=gitbook\&utm_medium=docs\&utm_content=drugs) | [Watch the showcase on YouTube](https://www.youtube.com/watch?v=Sap8sz-PEJY) | [Install Drugs](https://tk-scripts.gitbook.io/docs/tk_drugs/installation.md)

{% embed url="<https://www.youtube.com/watch?v=Sap8sz-PEJY>" %}
Drugs showcase (9 min 34 s).
{% endembed %}

## Features

### Equipment and minigames

* A separate minigame for each equipment type
* Equipment and plants are saved over restarts
* Buy equipment from the shop, or set fixed spawn locations in the config

### Weed from seed to bag

* Plant cannabis seeds in pots
* Water and fertilise plants so they don't die
* Use grow lights to speed up growth
* Bag the harvest into sellable weed or make joints
* Includes 4 different strains of weed
* Use the drying rack to increase weed quality

### Cocaine from leaf to brick

* Grow coca plants the same way as weed
* Cauldron: turn coca leaves into coke base
* Oven: process it into cocaine
* Coke press: press cocaine into bricks
* Use the drying rack to increase coca leaf quality

### Meth: cook, chill, hammer, bag

* Cooking table: mix the chemicals and manage the heat to make liquid meth
* Meth table: pour onto an empty tray
* Chiller: chill the tray of liquid meth
* Meth table: hammer the meth tray into meth pieces
* Bag the meth into sellable bags

### LSD sheets and heroin syringes

* Buy LSD ingredients from the store and process them into LSD sheets
* Buy heroin ingredients from the store and process them into a heroin syringe

### Plant fields and mushrooms

* Configure fields where different types of plants spawn and can be picked up by players
* By default includes 3 types of mushrooms that can be dried, cooked and bagged

### Mixer recipes

* Improve and combine products into new ones with custom effects or better selling prices
* Add more recipes in the [config](https://tk-scripts.gitbook.io/docs/tk_drugs/config.md#equipment)

### Street selling to NPCs

* Sell drugs to NPCs on the street
* Selling more at once raises the reject and police alert chance
* NPCs have favourite effects; sell them what they like and they pay more

### Trap phone and Plug app

* Built-in trap phone with lab purchasing, worker hiring and drug selling
* Plug app for selling to regular customers
* Build reputation with customers over time
* Negotiate prices with counter-offers
* Deliver orders to customers

### Labs and workers

* Purchase a drug lab from the built-in trap phone
* Place shelves, equipment and plants inside the lab
* Other players can enter an open lab, and you can give them permissions
* Hire NPC workers to run equipment in your labs
* Workers keep processing while you are away as long as they have ingredients

### Addiction and effects

* Using drugs builds addiction
* Withdrawal gives debuffs until you use again
* 20+ ready-made drug effects
* Taking more of the same drug extends the effect
* Choose which item uses which effect in the config

### Pickpocket NPCs

* Steal items and cash from NPCs
* Configurable cooldown and rewards

### Boosters, storage and shops

* Place booster items (growing lamp, AC unit) near plants or equipment
* Boosters speed up plant growth and equipment processing
* Set the radius and speed per booster in the config
* Place drug shelves to store drug-related items
* Items placed on a shelf show as real objects on the shelf
* Workers inside a lab use shelves to take and put ingredients and drugs
* Built-in shops for equipment, chemicals and materials

### Admin menu, config and languages

* [Admin menu](https://tk-scripts.gitbook.io/docs/tk_drugs/commands.md#drugsadminmenu): view, manage and delete data for all plants, equipment and boosters
* Add drug types and recipes; edit shop items and selling prices in the config
* English and Finnish translations included, translatable

## Requirements

| Item      | Supported                                                                     |
| --------- | ----------------------------------------------------------------------------- |
| Framework | ESX, QBCore, Qbox. Another framework works after editing the framework files. |
| Database  | oxmysql or mysql-async                                                        |
| Inventory | ox\_inventory, qb-inventory, qs-inventory, or the ESX inventory               |
| Target    | ox\_target or qb-target (optional)                                            |
| Dispatch  | tk\_dispatch, cd\_dispatch, or the built-in police alerts                     |
| Props     | The free weed and mushroom prop packs linked in `README.txt`                  |
| Languages | English, Finnish                                                              |

Some props come from a newer GTA V game build; TK Scripts uses build 3258. Police alerts in tk\_dispatch need [tk\_dispatch](https://tk-scripts.gitbook.io/docs/tk_dispatch.md), sold separately ([Dispatch product page](https://tkscripts.com/scripts/dispatch?utm_source=gitbook\&utm_medium=docs\&utm_content=drugs)). Every dependency and its start order: [Drugs installation](https://tk-scripts.gitbook.io/docs/tk_drugs/installation.md#requirements).

[All-in-One Drug System V2 product page](https://tkscripts.com/scripts/drugs?utm_source=gitbook\&utm_medium=docs\&utm_content=drugs)

## Start here

* [Install Drugs](https://tk-scripts.gitbook.io/docs/tk_drugs/installation.md)
* [Update without losing your config](https://tk-scripts.gitbook.io/docs/tk_drugs/installation.md#update-without-losing-your-config)
* [Set up equipment, plants, labs and selling](https://tk-scripts.gitbook.io/docs/tk_drugs/config.md)
* [Admin and addiction commands](https://tk-scripts.gitbook.io/docs/tk_drugs/commands.md)
* [Fix common problems](https://tk-scripts.gitbook.io/docs/tk_drugs/common-questions-and-problems.md)

Support: open a ticket in the [TK Scripts Discord](https://discord.gg/YndnF9tkqu).
