Smart Pawn Shop

Smart Pawn Shop

€45.00

Add to Basket

Smart Pawn Shop is a dynamic pawnshop system for FiveM built as an extension for ox_inventory.
Small Preview mechanism - https://youtu.be/nrBiV9G6pL0

The script extends ox_inventory’s shop system to support runtime-registered shops with real stock, allowing pawnshops and dealers to be controlled entirely by external resources and a database.

⚠️ This script requires a small, documented modification of a core ox_inventory file to enable dynamic shops.


🔑 Key Features

🧩 ox_inventory Extension (Not Standalone)

  • Extends the existing ox_inventory shop logic

  • Adds support for dynamic, script-registered shops

  • Does not replace or overwrite default shop behavior

  • Fully compatible with normal ox_inventory shops


🧍 NPC-Based Pawnshops

  • Unlimited pawnshop NPCs

  • Each NPC has its own shop ID and inventory

  • Independent stock per location

  • Ideal for city, rural, or blackmarket pawnshops


📦 Real Stock System (Database Driven)

  • Items sold by players are stored in the database

  • Stock is tracked per pawnshop NPC

  • Buying items reduces available stock

  • No fake or infinite inventories


💰 Dynamic Pricing System

Prices are calculated using:

  • Base item price (SQL)

  • Current stock amount

  • Ideal stock limit (max_store)

  • Random variation

  • Optional negotiation result

✔ Low stock → higher prices
✔ High stock → lower prices


🤝 Price Negotiation

  • Players can negotiate prices with NPCs

  • Multiple negotiation tiers (+25%, +50%, above)

  • Configurable success chances

  • Adds RP depth and immersion


🗄️ SQL-Controlled Economy

  • No hardcoded prices

  • Balance your economy directly in SQL

  • Persistent across restarts

  • Supports unlimited items and shops


⚙️ Technical Overview

  • Requires ox_inventory

  • Requires a one-time modification of
    ox_inventory/server/shops.lua

  • Changes are limited and documented

  • No other ox_inventory files are touched


📋 Requirements

  • FiveM server

  • ox_inventory (latest recommended)

  • MySQL / MariaDB database


⚠️ Important Notice

This resource modifies a core ox_inventory file.

✔ Full step-by-step installation guide included
✔ Safe when installed correctly
✔ Backup strongly recommended

Refunds will not be provided if installation steps are ignored.


✅ Why Use This Extension?

✔ Real pawnshop economy
✔ Fully dynamic shops
✔ Persistent stock
✔ RP-friendly design
✔ Built specifically for ox_inventory