GCMod

Pawnshop System

Core overview and runtime behavior for gcm_pawnshop.


Overview

gcm_pawnshop provides configurable pawnshop points where players can:

  • Open a NUI selling panel.
  • Sell configured items for cash or black money.
  • Use optional open hours restrictions.

Core Flow

  1. Resource auto-detects framework and inventory.
  2. Pawnshop points spawn configured blips/peds/markers.
  3. Player opens NUI and sends sell order.
  4. Server removes items, pays player, and optionally logs webhook sale details.

Integrations

  • Framework auto-detection: qb-core / es_extended
  • Inventory auto-detection: ox_inventory / qb-inventory
  • NUI frontend from ui/index.html