prp-shops
A dynamic, configuration-first shop system powering your server's economy.
Screenshot: 24/7 Interface
Features
- Easy Configuration: Define multiple shop types ("24/7", "LTD Gasoline", "Digital Den") in a single `shops.lua` file.
- Category Sorting: Items are grouped by categories (Drinks, Food, Vice, Tools, etc.) for easy browsing.
- Target Integration: Uses `ox_target` for immersive interaction with ped clerks.
- Framework Support: Built for Qbox, QBCore, and ESX.
- Robbery Ready: Acts as the map and location provider for prp-storerobbery.
Included Presets
The script comes pre-configured with the following chains:
- 24/7 Market (12 locations)
- LTD Gasoline (6 locations)
- Rob's Liquor (5 locations)
- Rusty Browns Ring Donuts
- Digital Den (Electronics & Phones)
- Mega Mall (Tools & Hardware)
- You Tool (Construction & Racing)
- Mechanic Parts (Vehicle Upgrades)
Configuration
Edit `config.lua` for core settings:
Config.Framework = "qbox"
Config.Inventory = "ox_inventory"
Config.PayMethod = "cash"
Config.InteractionDistance = 5.0
Adding New Shops
Simply open `shops.lua` and add a new entry to the `Shops` table:
Shops["My New Shop"] = {
pedModel = "mp_m_shopkeep_01",
blipname = "Joe's Mart",
blipsprite = 52,
locations = { vector4(...) },
items = {
bread = { category = "food", display = "Bread", price = 5, description = "Freshly baked." }
}
}
Pro Tip: Use with prp-storerobbery to turn your peaceful shops into high-stakes heist targets.