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

# Usage

* **Approaching the Shop:**\
  As players approach a shop location defined in <mark style="color:yellow;">`Config.Shops`</mark>, a marker and blip (if enabled) appear. A help prompt (using <mark style="color:yellow;">`Config.ShopText`</mark>) instructs them to press the interaction key (typically **E**) to open the shop menu.
* **Opening the Shop:**\
  When the interaction key is pressed, the shop UI opens (using NUI), displaying the available item categories (e.g., tools, electro, other).\
  Players can then browse items and select their desired products.
* **Purchasing Items:**\
  The script supports both cash and black money payments. When a player makes a purchase, the appropriate payment method is verified (using ESX or QBCore methods), and if successful, items are added to the player’s inventory.
* **Discord Integration:**\
  On server start, the script randomizes item prices (if defined as a range) and sends an updated embed to your Discord channel using the webhook configured in <mark style="color:yellow;">`Config.Discord`</mark>.
* **Job Restrictions:**\
  If a player’s job is listed in <mark style="color:yellow;">`Config.BlacklistedJobs`</mark>, they will receive a notification and be blocked from accessing the shop.
