Core setup
Select framework, target, keys, and garage
The supplied automatic modes resolve supported resources at runtime, but explicit providers make production behavior easier to audit. DRS Garages is preferred; lunar_garage is a legacy fallback. Do not start both garage resources.
Config.Framework = 'qbox' -- auto, qbox, qb
Config.Target = 'ox_target' -- auto, ox_target, qb-target
Config.KeySystem = 'qbx_vehiclekeys'
Config.GarageIntegration = 'drs'Dealerships
Define dealerships and access rules
Config.Shops owns each shop's vehicle type, catalogue, ordered categories, ped, blip, interaction, test drive, delivery point, and garage. Config.CategoryAccess protects restricted categories; the supplied emergency rule allows the exact police group at grade 0 or higher while leaving visibility separate from purchase authorization.
Vehicle imagery
Add authentic custom vehicle imagery
Save verified custom renders as html/assets/vehicles/<lowercase-spawn-model>.webp on a consistent 960 × 536 canvas. Add-on vehicles prefer local art, then a Cfx render, then a styled unavailable state; do not substitute AI artwork for an actual sale model.
A catalogue vehicle has no image
Confirm the lowercase spawn name and local WebP filename. Vanilla models try the official Cfx render; addon models without a verified local or Cfx render intentionally show the unavailable state.