Description
CodeRanch Market System
Advanced NPC Market & Trading System for RedM
A fully-featured player market system with modern NUI interface, NPC vendors, item buying & selling, multi-location support, and seamless economy integration for an immersive roleplay shopping experience.
What This Script Does
For Players:
- Browse and purchase items from NPC market vendors across multiple locations
- Sell your inventory items for cash at any market point
- Interact with vendors via drawtext, prompt, or target system
- View item images, labels, and prices in a sleek modern UI
- Automatic payment from cash or bank balance
System Features:
- Modern, responsive NUI menu built with Vite
- Multiple market locations with configurable NPC vendors
- Buy & Sell system with separate item configurations
- 3 interaction types supported (Drawtext, Prompt, ox_target)
- Map blips for all market locations
- Smart payment system (cash priority, bank fallback)
- Inventory space validation before purchase
- Discord webhook logging for all transactions
- Fully configurable items, prices, and locations
- Multi-language support (easy to translate)
- Framework-agnostic via cBase (works with VORP/RedEM/QBR/Standalone)
- Clean entity cleanup on resource stop
CodeRanch Scripts - Professional RedM Development

