Skip to main content
Each dealership lot is a Lua entry in shared/locations.lua. This file is escrow_ignore’d so you can move peds and add lots without re-uploading the asset.

Anatomy of an entry

Only the marked required fields below have to be present — everything else falls back to defaults.

Adding a new lot

  1. Open shared/locations.lua.
  2. Copy one of the existing entries.
  3. Change the key (['pdm']) to something unique — this is the dealership key used everywhere internally.
  4. Set new coordinates and ped.
  5. Tick the categories you want to sell.
  6. Save and restart nexdev_dealerships.
The blip appears immediately. If the lot is empty when players browse it, that’s a category-mismatch — the catalog has no vehicles in the categories you listed.

Ped or marker?

Default behaviour spawns the salesperson at PedCoordinates. Players walk up and either eye-target them (target mode) or get an [E] Browse Vehicles hint (textui mode). Prefer a marker over a person? Add Interaction = 'marker' to the entry and the resource will draw an upward chevron at PedCoordinates. Tweak the marker style (type, scale, colour, range) in Config.Marker — see Configuration.

Public vs. owned

  • Public lot — omit Owner. Anyone can buy here. Sales feed the configured society / dealership balance directly, with no owner split. These lots don’t show up in /dealershipmgmt.
  • Owned lot — set Owner = 'jobName' (or { 'jobName', minGrade }). Players with that job see the lot in /dealershipmgmt and can manage stock, staff, display vehicles, settings, and view sales. Set a real owner via /dealershipadminDealerships tab → Set Owner, and Config.Purchase.OwnerSplitPercent of every sale goes to that owner; the rest goes to the dealership balance.
Admins holding Config.Management.AcePermission can open the dashboard for any owned lot — they don’t need the job. Use this to seed a new dealership before handing it off to a player.

Job-restricted buying

Set Job (and optionally Grade) to lock who can buy from a lot — handy for police, EMS, or staff fleet lots.
Job here only restricts buying — it has nothing to do with Owner. A lot can be public-buy but owned by a job (Owner = 'cardealer' without Job), or job-buy without an owner.

Required-item gate

Want a key card or dealership pass to be required for browsing?
The item is checked client-side at interaction time and the lot is skipped silently if the player doesn’t have it.

Display vehicles

Two ways to put cars on the showroom floor:
  1. Hard-coded — add a DisplayVehicles array to the lot entry in shared/locations.lua.
  2. In-game — open /dealershipmgmtDisplay Vehicles tab, click Place vehicle, walk into position, and drop. Stored in the database, syncs to all clients without a restart.
The in-game option is easier and survives updates — see Management dashboard.