Custom PED System
Custom PED System
Private NPC vendors. Spawn peds anywhere and lock each one to specific players by identifier — only the people you list can open that vendor's shop. Each vendor has its own items, ped model and location, all in one config file.
Needs ox_target for the interaction and ox_inventory for item images. Works with ESX and QBCore.
Compatibility
ESX LegacyQBCoreox_targetox_inventoryox_lib
Features
- Any number of vendor peds, each with its own coordinates and heading
- Lock a vendor to one player or a list of players by ESX identifier / QBCore citizenid
- NUI shop with category tabs, search, sorting and a quantity picker
- Item images loaded automatically from ox_inventory
- Purchases paid in cash and delivered by the server
- Peds are invincible, frozen and removed when the resource stops
- Vendors respawn if the resource restarts mid-session
- ESC or × closes the shop and releases focus
How it works
Each entry in Config.Vendors is one ped. When a player loads in, the peds spawn with an ox_target option. If that player is on the vendor's allowed list, the shop opens with that vendor's items; otherwise they get a "not authorized" notification and nothing opens.
Built for private vendors — personal shops for specific characters, staff perks, donor rewards and whitelist-only items. It isn't meant as a public shop system.
Dependencies
| Resource | Required | Notes |
|---|---|---|
| ox_target | required | Interaction on vendor peds |
| ox_inventory | required | Item images from nui://ox_inventory/web/images/ |
| ox_lib | required | Listed in fxmanifest |
| es_extended / qb-core | one of | Set Config.Framework |