# Market V2

## <mark style="color:yellow;">Overview</mark>

<mark style="color:yellow;">What you get</mark>

* **Multi-framework support**: auto-detect ESX or QB.
* **Themes & catalogs**: swap entire looks/catalogs per shop via `Config.MarketThemes`.
* **Player ownership**: buy/sell shops, set prices, manage balances, purchase stock.
* **Dynamic pricing**: config min/max; when a shop is owned, prices are frozen & stored in DB.
* **Stock control**: DB-backed stock per item, with low-stock notices.
* **Flexible payments**: cash, bank, black money, or **custom item currency**.
* **Access control**: per-shop job/grade rules; optional weapon license checks (ESX or item).
* **Delivery missions**: spawn a truck, load at a depot, unload at your shop to auto-restock.
* **Targets or markers**: works with **ox\_target** or classic 3D markers and `E` prompt.
* **NUI** with categories, images, cart, and localized strings.

## <mark style="color:yellow;">**Preview Video**</mark>

{% embed url="<https://youtu.be/47rcgnfzpnc>" %}

<figure><img src="/files/w97gEanvpKysqGShlYMd" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Qe6u9SGec10UgY2mojPj" alt=""><figcaption></figcaption></figure>


---

# 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://risk-scripts.gitbook.io/risk-scripts/scripts/market-v2.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.
