## 📋 Overview
A comprehensive pawnshop system for QBCore | QBox servers that allows players to sell valuable items to whitelisted pawnshop employees. Features both online and offline selling capabilities with an intuitive NUI interface.
## ✨ Key Features
### 🏪 **Dual Selling System**
- **Online Selling**: Players can sell items directly to whitelisted pawnshop employees at full price
- **Offline Selling**: Automated selling when no pawnshop employees are online (configurable percentage of full price)
- **Smart Detection**: Automatically checks if pawnshop employees are online and restricts/allows offline selling accordingly
### 🎯 **Interactive Interface**
- **Modern NUI Menu**: Clean, responsive interface powered by ox_lib
- **Visual Item Display**: Automatic image loading for all configured items
- **Search Functionality**: Built-in search to quickly find specific items
- **Real-time Inventory**: Shows actual player inventory with available quantities
- **Amount Selection**: Intuitive slider/input system for selecting sell quantities
### 🗺️ **Multiple Locations**
- **Multi-Store Support**: Configure unlimited pawnshop locations across the map
- **Separate Counters**: Dedicated interaction points for online and offline selling
- **Custom Blips**: Configurable map blips with custom sprites, colors, and labels
- **QB-Target Integration**: Seamless interaction system with visual prompts
- **ox_target Integration**: Seamless interaction system with visual prompts
### 💰 **Advanced Pricing System**
- **Configurable Prices**: Set individual prices for each sellable item
- **Offline Price Reduction**: Automatic percentage reduction for offline sales
- **Currency Customization**: Support for different currency symbols ($ € £ R, etc.)
- **Bulk Selling**: Sell multiple quantities of items in a single transaction
### 📊 **Comprehensive Logging**
- **Discord Webhooks**: Optional Discord integration for transaction logging
- **Detailed Records**: Logs player info, items sold, quantities, and prices
- **Color-coded Embeds**: Different colors for online vs offline transactions
- **Timestamp Tracking**: Full audit trail for all transactions
### Prerequisites
- **FiveM Build**: 3095 or higher
- **Framework**: QBCore | QBox Framework
- **Dependencies**:
- qb-core
- ox_lib
- qb-target
- ox_target
Video : https://youtu.be/G0qJIwVTMCc