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
- Resource auto-detects framework and inventory.
- Pawnshop points spawn configured blips/peds/markers.
- Player opens NUI and sends sell order.
- 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