Configuration

Framework providers, dealership access, and authentic vehicle imagery.

Resource
drs_vehicleshop
Version
v1.0.1-drs.8
Updated
Aug 30, 2026
Resource GitHub
Guide navigationConfiguration
Sections
01 / CORE SETUP

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.lualua
Config.Framework = 'qbox'       -- auto, qbox, qb
Config.Target = 'ox_target'     -- auto, ox_target, qb-target
Config.KeySystem = 'qbx_vehiclekeys'
Config.GarageIntegration = 'drs'
02 / DEALERSHIPS

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.

03 / VEHICLE IMAGERY

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.