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

# DevMosaic Dm Hustling

`dm_Hustling` is a FiveM/Qbox compatible hustling script where players meet a street contact, wait for a buyer, travel to a deal location, show their goods, negotiate the offer, and complete or lose the sale depending on the outcome.

The script includes buyer NPC scenes, vehicle meetups, dialog UI, reputation progression, cooldowns, negotiation risk, robbery events, police alerts, and configurable UI themes.

### Features

* Supports Qbox, QBCore, and ESX framework detection.
* Supports `ox_inventory`, `qb-inventory`, `qs-inventory`, `ps-inventory`, and `origen_inventory`.
* Supports `ox_target`, `qb-target`, and `qtarget`.
* Optional dispatch support for `ps-dispatch`, `cd_dispatch`, and `qs-dispatch`.
* Optional persistent reputation with `oxmysql`.
* Configurable buyer locations, sellable item catalog, payout method, danger settings, and reputation bonuses.
* Multi-language locale files.
* Themeable NUI through `ui.lua`.

### Basic Flow

1. Player talks to the contact NPC.
2. Contact searches for an available buyer.
3. Player receives a buyer location.
4. Buyer arrives in a van and waits near the vehicle.
5. Player shows goods to the buyer.
6. Buyer makes an offer for matching configured items.
7. Player can accept, decline, or negotiate.
8. Sale can complete, trigger police heat, or lead to robbery if negotiation goes badly.

### Resource Name

The resource folder should be named:

```
dm_Hustling
```
