[STANDALONE] r_mileage - Mileage System, Toggle Engine, Handlings Degradation.

We hereby present our custom and advanced vehicle mileage script for your fivem server.

Preview - Youtube

Docs - GitBook

Features

  • Toggle Engine System with start degradation depends on the mileage of the vehicle.
  • As the vehicle’s stage deteriorates, the vehicle’s maximum health will decrease.
  • Deterioration of vehicle stats depends on the stage of the vehicle.
  • Random mileage for non-owner vehicles.
  • Option to calculate mileage in miles or kilometers.
  • Option to make engine overhaul.
  • Resmon usage is 0.00 and 0.01 - 0.02 on use

Dependecies

  • oxmysql
  • ox_lib

You can buy this script from tebex. (Script is escrow protected)

Tebex Escrow [r_mileage] 15$ + TAX

Tebex Open-Source [r_mileage] 60$ + TAX

Support

  • If you require support, just drop a message below and I will try to get back to you as soon as possible.

When you buy now, you will receive all future updates

Updates
  • 27.12.2022 - Version 1.0.1

    • Fixed vehicle ownership SQL check for setting random mileage.
    • Added option to skip checking owned vehicles in SQL and set random mileage for each vehicle.
  • 06.01.2023 - Version 1.1.0

    • Added option to disable HUD.
    • Added an option to turn off the engine when leaving the vehicle.
    • Added an option to disable our engine toggle system.
    • Added an option to disable changing the maximum Health of a vehicle.
  • 06.01.2023 - Version 1.2.0

    • Added a list in the config to which you can enter vehicle models for which mileage should not be charged.
    • Improved vehicle mileage saving if the problem was present.
    • Removed engine toggle notification for bikes.

OTHER RESOURCES

Code is accessible No
Subscription-based No
Lines (approximately) ~750
Requirements oxmysql & ox_lib
Support Yes
4 Likes

nice and useful script

1 Like

how do you fix the degrade/health?
is this like esx_realisticvehicledamage

1 Like

i get this error :confused:

1 Like

Have you configured the script correctly?

You need to integrate this into your script via exports. The script is standalone so I couldn’t use job checking etc.

not sure what should go wrong.

1 Like

Check if you have correctly configured the table and column where the plates of owned vehicles are located. In Config.RandomMileage.

config is good. it gives me that error and doesnt save the mileage

1 Like

if its standalone where does it get the owner vehicles from ?

1 Like

This is an optional option to set a random mileage for non-owner vehicles. You can set up a table and column in SQL where the script checks if the vehicle is owned.

Download new update from keymaster. Everything should work now, sorry for the problems.

New Update!

New Update!

Sell open source scripts?

Yes I sell

https://raredevelopment.tebex.io/category/opensource

esx1.9.4 Can it be used?

Yes, it can be used

[ script:oxmysql] Unknown column ‘plate’ in ‘where clause’
[ script:oxmysql] Error: r_mileage was unable to execute a query!
[ script:oxmysql] Query: SELECT * FROM owned_vehicles WHERE plate =?
[ script:oxmysql] [“00RJA992”]
[ script:oxmysql] Unknown column ‘plate’ in ‘where clause’

I received this error

[ script:r_mileage] SCRIPT ERROR: ?:-1: attempt to concatenate a boolean value (field ‘Column’)

and this