FIVEM guille_carhud
Info
It’s a simple car hud that combines pretty well with my status hud.
This hud show’s the rpm, the car health, the speed and the gear of the vehicle.
The script is coded in lua, html, css and js (jQuery).
Other things
You can disable any category as gear, rpm… deleting the line with the name of the item in .html, .css .js and lua.
Some pics
Links
Download Link in KM/H
Download Link in MP/H
Preview
I recomend you to use this hud with the carhud.
Updates
- Fixed all resolution issues
- Fixed icons bug, now all the icons appear correctly.
8 Likes
Munch1
2
This looks amazing, but is there a way to change to MPH ?
1 Like
Yes for sure, I commented the line of the km/h with the method. You have to change the line 20 in client/main.lua.
This: local velo = (GetEntitySpeed(vehiculo)* 3.6)
To this: local velo = (GetEntitySpeed(vehiculo)* 2.4)
And later in html/index.html change km/h to mp/h.
Thanks for the support
local velo = (GetEntitySpeed(vehiculo)*2.236936)
to be closer to the real math.
1 Like
Thx for it, I can upload this to my Git? As a mp/h version.
of course, it’s your script this is a really simple edit
1 Like
Thanks, it can be useful for some people.
0.4 - 0.5. I made this carhud fast, so can be more optimized.
This look is very good, thanks for your work
1 Like
Hello, how i can make the fuel line thinner?
Thanks in advance!