# Imperium Selldrugs

A comprehensive drug dealing system for FiveM servers, featuring an interactive burner phone, reputation progression, and immersive NPC interactions. Built with a modern NUI and designed for seamless multi-framework support (ESX/QBCore).

### ✨ Features

* **Multi-Framework Support:** Automatically detects and works with ESX and QBCore out of the box.
* **Interactive Burner Phone:** Manage your criminal empire with a sleek, dark-themed UI featuring apps for Dealer status, Messages, Sales History, Stats, and Settings.
* **Dynamic Reputation System:** Earn XP from sales to level up, unlocking new drugs (Weed, Coke, Meth, Opium), better prices, and larger quantity orders.
* **Immersive Missions & Corner Selling:**
  * **Corner Selling:** Sell directly to NPCs on the street with configurable zones and acceptance rates.
  * **Missions:** Receive realistic incoming calls (custom audio) and SMS for special delivery tasks.
* **Advanced Audio & Animation:** Full sound design for phone calls (VIP clients, police risks, new customers) paired with smooth prop animations for phone usage and drug handoffs.
* **Risk & Security:**
  * **Police Alerts:** Integrated with various dispatch systems (ps-dispatch, cd\_dispatch, etc.) and configurable NPC snitch chances.
  * **Anti-Cheat:** Robust server-side validation for distance and inventory checks.
* **Discord Integration:** Comprehensive webhook logs for sales, police alerts, and player level-ups.
* **Fully Configurable:** Easily adjust drug prices, XP requirements, selling zones, and more via `config.lua`.


---

# 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://imperiumscripts.gitbook.io/imperium-scripts/scripts/imperium-selldrugs.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.
