🔥 Sleezy Development – Advanced NPC Dealer System
Give your players a clean, immersive, and optimized way to sell configured street items to nearby NPCs with the Sleezy Development Advanced NPC Dealer System.
This script creates a pool of NPC customers around the player, then sends them in one by one to buy items directly from the player. No pre-placed NPCs are needed anywhere on the map. Buyers are spawned dynamically, approach naturally, complete the interaction, and then walk away / despawn to keep the system smooth and optimized.
The system supports random item selection, random pricing, rejection chance, and police alert chance, making every interaction feel dynamic and realistic.
Everything is fully configurable through config.lua, so server owners can easily edit item names, prices, quantities, ped models, alert chances, and settings without touching the core files.
📦 Features
• No existing NPCs required
• Dynamic NPC buyer pool around the player
• Buyers walk up one by one
• NPCs despawn after interaction to reduce lag
• Random item selection if player has multiple sellable items
• Random quantity and random price based on config
• Buyers can reject offers
• Chance to alert police / dispatch
• Fully configurable through config.lua
• Works with QBCore and QBOX
• Supports qb-inventory
• Supports ox_inventory
• Lightweight and optimized
• Very low resource usage while idle
🎭 How It Works
Players start the selling mode and the script begins creating potential buyers nearby.
Each buyer:
spawns dynamically around the player
walks toward the player
checks for a valid configured item in the player’s inventory
selects a random item if multiple are available
offers a random quantity and price
may reject the interaction
may trigger a police alert
leaves and despawns after the interaction
This keeps the system immersive while avoiding large numbers of unnecessary NPCs staying loaded around the area.
⚙️ Configuration
Server owners can easily configure:
command names
allowed jobs
police requirements
police alert chance
NPC ped models
sellable items
quantity ranges
price ranges
rejection percentage
buyer pool settings
despawn behavior
dispatch support
Example item setup:
Config.ItemList = {
['stolen_watch'] = {
quantity = { min = 1, max = 3 },
price = { min = 250, max = 450 },
},
['fake_chain'] = {
quantity = { min = 1, max = 2 },
price = { min = 400, max = 650 },
},
}
🧩 Framework Support
Frameworks:
• QBCore
• QBOX
Inventory Support:
• qb-inventory
• ox_inventory
📥 Installation
server.cfg
config.lua
Example:
ensure slz_streetpeddler
💡 Perfect For
• Roleplay servers
• Street-selling systems
• Black market style gameplay
• Dynamic NPC interaction systems
• Servers wanting immersive player-to-NPC selling
• Optimized economy-based scripts
🛠 Support
If you encounter any issues or need help configuring the script, please open a support ticket through the store or contact Sleezy Development.