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
| Source | Type | Framework |
|---|---|---|
esx_vehicleshop | Database | ESX |
jg-dealership | Database | ESX/QB |
qs-vehicleshop | Database | ESX/QB |
qb-vehicleshop | Export | QBCore |
ox_core | Export | QBox |
custom | Custom DB table | Any |
Fallback System
- By vehicle class: Super = $350,000, Sports = $120,000, Compacts = $25,000, etc.
- Global fallback: $50,000 (configurable)
Price Categories
| Category | % of Vehicle Value | Multiplier |
|---|---|---|
| Repair | 1% | 1.0x |
| Performance | 6% | 0.2x |
| Cosmetics | 2% | 0.15x |
| Wheels | 2% | 0.05x |
| Respray | 5% | 1.0x |
| Neon Lights | 10% | 1.0x |
| Headlights | 15% | 1.0x |
| Stance | 20% | 1.0x |
