Vehicle Dashboard - KM Counter [FREE] [Standalone]

Vehicle Dashboard - KM Counter [FREE] [Standalone]

Description

This free resource accurately tracks and stores the total kilometers driven for each vehicle based on its plate number. It also features a clean and stylish display under the minimap, showing the vehicle’s plate number and total KM driven.

The resource is designed for seamless integration, automatically creating and managing a dedicated database table (vehicle_km) on first startup. It ensures efficient tracking without interfering with existing vehicle data.

Features

  • :white_check_mark: Realistic KM Tracking – Records and updates the total distance driven per vehicle.
  • :white_check_mark: Minimalistic UI – Displays plate number & KM counter under the minimap.
  • :white_check_mark: Database Integration – Uses oxmysql to store data in a dedicated table (vehicle_km).
  • :white_check_mark: Standalone & Optimized – Lightweight, efficient, and compatible with any framework.
  • :white_check_mark: Auto Table Creation – No manual setup needed; the database structure is created on first start.
  • :white_check_mark: Easily Customizable – Edit the server-side script to integrate with an existing vehicle database if required.

image

Dependencies

  • :small_blue_diamond: oxmysql – For database management.
  • :small_blue_diamond: baseevents – To detect vehicle usage events.

Installation

  • :one: Ensure oxmysql and baseevents are installed on your server.
  • :two: Drag and drop the resource into your resources folder.
  • :three: Add ensure vehicle_km to your server.cfg.
  • :four: Start your server – the database table will be created automatically!

Download & More Info

:link: Tebex: Download (free)

:small_blue_diamond: Perfect for adding a realistic odometer system to your server! :rocket:

Code is accessible Yes
Subscription-based No
Lines (approximately) 250
Requirements oxmysql, baseevents
Support Yes
4 Likes

Your script is excellent, but I am having some issues with it on the VRP platform. It only stores the first vehicle in the garage in the database, and all the others share the same mileage and license plate as the first car.