Fully functional and compatible with vRPex / vRP / ESX / Qb and Others
MP/H or KM/H Display
You can choose which unit of measurement is best for you
Seat Belt Indicator and also functionality, you can be thrown out of the car if you are without the seat belts.
Displays the amount of gasoline in the vehicle
Gear indicator on vehicle
Odometer, measuring the distance already covered by the vehicle, if you want to configure in SQL you can save this information.
If you want to use the seat belt system you need to enable this in your server.cfg file
setr game_enableFlyThroughWindscreen true
We did everything to make sure that the speedometer is working properly. In case of any bug we will be available to correct and assist you in the configuration and installation.
1 -- Fuel Gas
2 -- Brake Status
3 -- Handbrake Status
4 -- Odometer
5 -- Tachometer
6 -- Speedometer
7 -- Current unit of measurement
8 -- Current gear
9 -- Seatbelt Status (Green = Active / yellow = deactivated)
0.08ms is about what i would expect from a speedometer resource that constantly has to check vehicle infos, sexyspeedometer with a custom skin uses about 0.14ms and 0.07ms using the default skin. Do note we’re not talking about 8ms, but 0.08ms, much different timeframes.
omg … a comparison with a very badly written speedometer like sexyspeedometer is ridiculous, rather sign that the quality of the one offered here is not right if you really have to compare sexyspeedometer with this product here!
Since you are apparently a mega-brained codewriter you could suggest optimisations instead of blaming “bad code!!” on something that cannot be avoided, 0.08ms is perfectly fine and absolutely as you would expect from any resource like this, i invite you to take a look at the code of similar speedometers and determine the same thing.
But hey, to suggest improvements one would actually need to know what they’re talking about, right? Unhelpful criticism is muuuch easier
edit, also, sexyspeedometer and “unoptimised”, really? have you even looked at the code as of recent?
From my experience DrawSprite is not quite as fast as it could be, i reckon with a bit of aggressive optimisations an NUI Speedometer could be much faster than a DrawSrpite one while looking and behaving much better. but that discussion is something for another time
Sexyspeedometer shows what was possible 4 years ago, now i think its time for people to test the limits of whats possible in 2021.