> For the complete documentation index, see [llms.txt](https://anoxstudios.gitbook.io/anoxstudios/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anoxstudios.gitbook.io/anoxstudios/free-scripts/illegal/anox-drugs.md).

# anox-drugs

### ✨ Overview

<figure><img src="https://1081416849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJQuNrU3dC4P0moC4lYmj%2Fuploads%2FbctznPWuT2z7CpoXmStC%2Fanox_drugs.png?alt=media&amp;token=bbe88516-1d3b-457c-95e7-afd4e4ada42c" alt=""><figcaption></figcaption></figure>

> **anox-drugs** is a classic drug production system where players can collect materials, process them, and produce finished drugs. It's for servers that prefer a more realistic and pragmatic means of operating a drug business.

### ✨ Features

* [ ] 🌿 **Full Drug Production Workflow**

- Gather raw materials from different locations on the map
- Process them into refined drug products
- Package them using specific materials
- Customize how much is gathered or converted at each step
- Built to be extended – add new drug types or tweak behavior easily

* [ ] 🔄 **Dynamic Gathering System**

- Choose between single or looped gathering modes
- Unique gathering zones for each drug type
- Get visual feedback with custom markers and notifications
- Cancel the process anytime using keyboard shortcuts

* [ ] 🧪 **Secure Drug Lab Teleports**

- Enter and exit labs using key items
- Smooth teleportation between outside and inside areas
- Clear visual indicators for teleport spots
- Restrict access based on  items

* [ ] 🎮 **Immersive Player Experience**

- Smooth progress bars during all activities
- Consistent, styled notifications
- On-screen prompts to guide player actions
- Distinct markers for different stages (gathering, processing, packaging)

* [ ] 🗺️ **Blips\&Markers**

- Add map blips for drug spots
- Customize marker colors, types, and sizes
- Place drug activities anywhere on the map

* [ ] 🔧 **Framework Support**

- Works with **ESX**, **QBCore**, and **QBox**
- Smart bridge system handles framework differences
- Supports localization and translations
- Debugging included to help with setup or issues

### ✨ Requirements

* [ ] One of the following frameworks:

- `ESX`
- `QBCore`
- `Qbox`

* [ ] **Must-have dependencies:**

- [`ox_lib`](https://github.com/overextended/ox_lib)

### ✨ Installation Guide

* [ ] **Step 1: Download the** [**Resource**](https://github.com/ANoXShadow/anox-drugs)
* [ ] Download the resource from our GitHub repository
* [ ] Extract the files to your server's `resources` folder
* [ ] Rename the folder to `anox-drugs`if it's not already named correctly
* [ ] **Step 2: Item Setup**
* [ ] Head to the !INSTALL folder and install the item into your core or inventory.

<figure><img src="https://1081416849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJQuNrU3dC4P0moC4lYmj%2Fuploads%2FJJBewvipSgpuKkUDD3dc%2F%7B0CC37909-DA92-4E9E-906C-8F4EF57CD8C4%7D.png?alt=media&amp;token=b187b01c-9179-434d-8e35-ddea0f9ab534" alt=""><figcaption></figcaption></figure>

* [ ] **Step 3: Configure Your server.cfg**
* [ ] Add the following line to your `server.cfg` file:

```
ensure oxmysql
ensure ox_lib
ensure anox-drugs
```

**Step 4: Configure the Resource**

* Open the `config.lua` file in the `anox-drugs`folder
* Set your preferred framework:
  * `Config.Framework = 'esx'` for ESX
  * `Config.Framework = 'qb'` for QBCore
  * `Config.Framework = 'qbx'` for QBox

### ✨ Preview

{% embed url="<https://www.youtube.com/watch?v=6z6vfB9S5Ns>" %}
