> For the complete documentation index, see [llms.txt](https://nanoscripts.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://nanoscripts.gitbook.io/docs/scripts/nn_drugsselling.md).

# nn\_drugsselling

Four physical trap phones and a whole street economy built around them. Players work pedestrians on foot, hold a corner and let buyers come to them, or deal out of the driver's seat — then climb from a burner to a NanoBerry, start a crew, take a block, run product on credit and race other crews to an air drop. Police who seize a handset crack it open with a Slipper Zero and work the seller from the other side.

{% hint style="info" %}
**At a glance** — Resource: `nn_drugsselling` · Author: NANO Scripts · Frameworks: QBCore · Qbox · ESX (via community\_bridge) · Targets: ox\_target · qb-target · Admin panel: `/deadmin` · Money, inventory, progression and rewards are all confirmed by the server.
{% endhint %}

{% hint style="warning" %}
**This resource does not grow, process or manufacture drugs.** It sells finished inventory items. Connect it to your existing production script, or let Product Credit and supply drops put product into circulation.
{% endhint %}

#### Features

| Feature                    | What it does                                                                                              |
| -------------------------- | --------------------------------------------------------------------------------------------------------- |
| **Three selling methods**  | Street Approach on foot, Corner Connect where buyers come to you, Drive-Up from a parked car.             |
| **Four phone tiers**       | Burner Phone, Dark Phone, Nanosung Young, NanoBerry — each a real item with its own apps and interface.   |
| **Reputation and heat**    | Every sale pays reputation. Heat is police attention: it decays, and it escalates the response.           |
| **Skills**                 | Five branches — Plug, Distribution, Network, Business, Ghost — bought with points from reputation levels. |
| **Crews and crew chat**    | Ranks, editable permissions, crew XP and a private channel, from Tier 2 up.                               |
| **Territory**              | Selling in a zone builds influence. The dominant crew taxes outsiders and earns passive income.           |
| **Turf wars**              | Declare war on a rival-held zone and fight over the capture area for the influence swing.                 |
| **Product credit**         | Take product from a plug now and repay later — with interest, a deadline, late penalties and enforcers.   |
| **Supply drops**           | Persistent, server-scheduled crates that eligible crews race for. Police can be pulled in.                |
| **Private contacts**       | Tier 4 buyers who come back on their own with offers you can accept, refuse or counter.                   |
| **Police evidence phones** | On-duty officers get a different interface on a seized handset, opened with the Slipper Zero minigame.    |
| **Boss/Admin panel**       | `/deadmin` — live configuration, player management and drop control, saved to the database.               |

#### What you will need

| Dependency                  | Required | Why                                                                     |
| --------------------------- | -------- | ----------------------------------------------------------------------- |
| **community\_bridge**       | Yes      | Detects your framework, inventory and target system and routes to them. |
| **oxmysql**                 | Yes      | Every table this resource owns is created and read through it.          |
| **QBCore, Qbox or ESX**     | Yes      | One of the three, through the bridge.                                   |
| **A supported inventory**   | Yes      | The phones, products and tools are all real items.                      |
| **ox\_target or qb-target** | Yes      | Street Approach, plug NPCs and the supplier meet all use targeting.     |
| **OneSync**                 | Yes      | Buyer peds, drops and crews are all server-tracked.                     |

{% hint style="danger" %}
The resource folder must stay named exactly `nn_drugsselling`. The protected release contract and every export use that name.
{% endhint %}

#### The four phones

Each handset is a physical `de_trapphone_*` item. Owning one is not enough — the player has to have unlocked the tier as well.

| Tier | Handset        | Unlocks                         |
| ---- | -------------- | ------------------------------- |
| 1    | Burner Phone   | Selling and Device              |
| 2    | Dark Phone     | Crew, Crew Chat, Skills, Turf   |
| 3    | Nanosung Young | Product Credit and Supply Drops |
| 4    | NanoBerry      | Private contacts and CRM        |

#### Common questions

<details>

<summary>Does the script produce drugs?</summary>

No. It sells finished inventory items. Use your own production resource, Product Credit, missions, supply drops or the admin panel to put product into circulation.

</details>

<details>

<summary>Are players given their first phone automatically?</summary>

No. You decide how the Tier 1 Burner Phone enters your economy. Every upgrade after that trades the current handset for the next one.

</details>

<details>

<summary>Do I need to import an SQL file?</summary>

No. `sql/install.sql` is applied through oxmysql on startup. The same complete schema ships in `item_sql/database.sql` if you would rather import it by hand.

</details>

<details>

<summary>Do I have to edit config files?</summary>

Most values worth changing can be edited live from `/deadmin` and are stored in the database. Structured lists — models, coordinates, loot tables — stay in `config/`.

</details>

<details>

<summary>Is the police hacking tool consumed?</summary>

No. `flipper_tool` — the Slipper Zero — is a reusable field tool and the script never removes it.

</details>

#### What's next

[Installation](/docs/scripts/nn_drugsselling/installation.md) → [Getting started](/docs/scripts/nn_drugsselling/getting-started.md) → [Selling drugs](/docs/scripts/nn_drugsselling/selling-drugs.md).

#### Support

* **Discord:** <https://discord.gg/nanoscripts>
