Skip to main content

Dynamic Pricing

Vehicle-based price scaling from dealership values

This section

Dynamic Pricing

Mod prices scale based on the vehicle's dealership value. More expensive vehicles cost more to modify.

Formula

finalPrice = basePrice + (vehicleValue × percentVehVal × priceMult)

Vehicle Value Sources

SourceTypeFramework
esx_vehicleshopDatabaseESX
jg-dealershipDatabaseESX/QB
qs-vehicleshopDatabaseESX/QB
qb-vehicleshopExportQBCore
ox_coreExportQBox
customCustom DB tableAny

Fallback System

  1. By vehicle class: Super = $350,000, Sports = $120,000, Compacts = $25,000, etc.
  2. Global fallback: $50,000 (configurable)

Price Categories

Category% of Vehicle ValueMultiplier
Repair1%1.0x
Performance6%0.2x
Cosmetics2%0.15x
Wheels2%0.05x
Respray5%1.0x
Neon Lights10%1.0x
Headlights15%1.0x
Stance20%1.0x