Discord Store
Custom PED System

Installation

No SQL. Drop the resource in, set your framework, add your vendors and start it.

Steps

1
Copy the resource
Place the dh_personalNPC folder in your resources directory.
2
Set your framework
In config.lua, set Config.Framework to 'esx' or 'qbcore'.
3
Add your vendors
Fill in Config.Vendors — ped model, coordinates, allowed identifier(s) and items. See Configuration.
4
Add to server.cfg
After your framework, ox_lib, ox_inventory and ox_target.
5
Restart
Full restart on first install. After that you can restart just the resource when you change the config.

server.cfg

server.cfg
# framework (one of):
ensure es_extended
# ensure qb-core

ensure ox_lib
ensure ox_inventory
ensure ox_target
ensure dh_personalNPC

Getting a player's identifier

  • ESX: the identifier column in your users table, e.g. char1:xxxxxxxx…
  • QBCore: the citizenid column in your players table
  • Or any admin menu that shows player info while they're online
Identifiers are case-sensitive and must be copied exactly. One wrong character and the player can't open their vendor.