CodeM xPawnshop — Advanced Pawn Shop Script
A categorized pawnshop script for FiveM where players sell inventory items for in-game cash — featuring NPC interaction, admin price management, and a clean X Series UI.
Video Preview
Click to load video from YouTube. By watching, you agree to their privacy policy.
CodeM xPawnshop — Advanced Pawn Shop Script
Give your FiveM server a fully functional pawn shop economy system. CodeM xPawnshop places a world NPC at a configurable location where players can walk up and sell items from their inventory for in-game cash — all from a sleek, dark X Series UI. Designed by CodeM Studio, an officially verified CFX.re creator with 22,000+ community members and 8,000+ servers using their resources.
xPawnshop is a natural money sink that fits seamlessly into any RP server economy — whether you run ESX or QBCore.
Features
- Player Item Selling — Players approach the pawnshop NPC and open the interface to sell inventory items for in-game cash
- Categorized Item Browser — Items organized into categories: Technique, Jewelry, Weapon, Clothes, Other, and All
- Item Search — Search bar lets players find specific items by name across all categories instantly
- Admin & Job Owner Price Management — Admins or the designated job owner can open a boss menu to add, edit, or remove items and prices in real time — no config file editing required
- Per-Item Sale & Purchase Price — Every item has independently configurable sale and purchase prices, set from the UI or config
- World NPC — Configurable PED spawns at the pawnshop location with toggle, exact coordinates, and PED hash options
- Map Blip — Configurable blip with custom name, type, color, and scale
- Interaction Handler Support — Compatible with your existing proximity interaction resource
- CodeM mTextUI Support — Optional integration with CodeM's mTextUI for interaction prompts
- Inventory Image Support — Point the config to your inventory image folder for automatic item icon loading
What's Included
- Full pawnshop resource (~2,500–3,000 lines of Lua)
- Escrow-protected scripts
- Config file for easy server customization
- Boss menu UI for in-game item and price management
- X Series UI design
Compatibility
| | | |---|---| | Frameworks | ESX, QBCore | | Code Access | Escrow (Open Source version available separately) | | Subscription | No | | Lines | ~2,500–3,000 |
Installation
1. Drop the resource into your server's resources folder 2. Add ensure codem-pawnshop to your server.cfg 3. Configure items and prices in the config file or via the in-game boss menu 4. Restart your server
> By CodeM Studio — Officially verified CFX.re creator with 8,000+ servers. [Documentation](https://codem.gitbook.io/codem-documentation/other-scripts/xpawnshop)






