Installation
Installation
Download from GitHub, by going to the latest release page & clicking "Source code (zip)".
Unzip the downloaded file & rename the folder to
jg-vehiclemileage
.Drag the script folder (
jg-vehiclemileage
) into a new folder called[jg]
within your server'sresources
folder.Inside of your
server.cfg
, add a new line after all your other resources have started:
ensure [jg]
If you received an error saying [SQL ERROR]
JG Vehicle Mileage tries to automatically make the required database changes. In some cases, this automatic installation fails and you need to make the changes manually.
Head into the install
folder within jg-vehiclemileage
. Run the run-qb.sql
(QBCore/Qbox) or run-esx.sql
(ESX Legacy) file within your database software (could be PhpMyAdmin or HeidiSQL).
Make sure you are running this SQL code within the correct database - triple check and cross reference the name of the database!
Last updated
Was this helpful?