# anox-drugs

### ✨ Overview

<figure><img src="/files/HuykfMFplKWX4FiUqQAV" 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="/files/FpxZz75B7X6gfwfmcViQ" 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>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://anoxstudios.gitbook.io/anoxstudios/free-scripts/illegal/anox-drugs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
