Kartik Scripts

Odometer & Mileage Tracking

Garages V2 features a built-in real-time mileage calculation system that tracks distance driven on every player vehicle.

🌟 Overview & Highlights

Every driven vehicle accumulates mileage over time, which is displayed directly in the garage NUI, vehicle details modal, admin directory, and stored persistently in the database.


🛠️ Features & Controls

  • Distance Unit Support: Toggle between miles (mi) or kilometers (km) via Config.Mileage.unit.
  • Internal Database Integration: Automatically creates and maintains the mileage column in your database vehicle table.
  • External Resource Bridges: Compatible with external mileage resources (e.g. wasabi_carbales, cd_garage, custom resources).
  • Transfer Fee Multiplier: Integration with Config.TransferRatePerMile to calculate dynamic garage transfer fees based on vehicle mileage.

On this page