29 lines
1.3 KiB
Markdown
29 lines
1.3 KiB
Markdown
# JG Scripts Vehicle Mileage v2 (QB/QBox/ESX/Custom)
|
|
|
|
<img src="https://github.com/user-attachments/assets/55065901-7859-4de3-bc75-1330d41128cb" alt="vehicle-mileage" style="width:200px;"/>
|
|
|
|
A simple script for QBCore, QBox & ESX to show your vehicle's mileage in-game. When driving a vehicle that is owned (stored in the database), you will see an odometer in the bottom right of your screen. You can configure it to use miles or kilometers.
|
|
|
|
## Installation
|
|
|
|
You can find our full installation guide here: https://docs.jgscripts.com/vehicle-mileage/installation
|
|
|
|
## Dependencies
|
|
|
|
- QBCore/QBox/ESX (or pretty easy to use a custom framework)
|
|
- [ox_lib](https://github.com/overextended/ox_lib)
|
|
- [oxmysql](https://github.com/overextended/oxmysql)
|
|
|
|
## Custom Framework
|
|
|
|
If you not using QBCore, Qbox or ESX and are instead running a different framework, a custom one, or no framework at all, JG Vehicle Mileage is pretty straightforward to adapt. We have written a guide in our docs: https://docs.jgscripts.com/vehicle-mileage/custom-framework
|
|
|
|
## Exports
|
|
|
|
- Client exports: https://docs.jgscripts.com/vehicle-mileage/exports/client-exports
|
|
- Server exports: https://docs.jgscripts.com/vehicle-mileage/exports/server-exports
|
|
|
|
## Our other work
|
|
|
|
JG Scripts makes the #1 most popular vehicle scripts for FiveM. You can see our entire collection here: https://jgscripts.com/scripts
|