[Release] Speedometer (Tesla Styled Speedometer for Fivem)

Hello everyone,
Here is a quick thing I put together to work for fiveM, a tesla styled Speedometer.
You don’t need anything extra to run this, just fiveM.

[Download]: Click Here

[NOTE]: The positioning of the speedometer is based on 1080x1920 resolution monitor, other resolutions may be broken or misplaced ( since all the graphics are created in the JS ) If this is the case for you then you need to go to the js part of the code and change it yourself.

Credits
The NUI was adapted from Tameem Imamdad and his post on code pen all credit goes to him.

xst

15 Likes

good work

looks nice, but it shows Miles Per Hour.
Does this support Kilometers Per Hour ?

It technically does! Go to “xSpeedometer/client.lua”, then change the number in line 7 from “2.237” to “3.6”. That will change it from MPH to KPH. The text will still say “mph” though, to change that head over to “xSpeedometer/script.js”, line 155 and change ctx.fillText("mph", 250, 235); to say either “kph” or “kmh”, depending on your preference, just edit the “mph” part though :slight_smile:

2 Likes

how i can change position of this speedo?

its not showing up for me :frowning:

1 Like

It’s showing on the center of the screen for me.
Is there any nay to make it go on the bottom of the screen?

im also looking into changing the position of this.

1 Like

any luck? i have been able to move it, but not keep its position relative to the resolution. it is a different location for different screen res.

I installed the resource and nothing happened, can you tell me if it is standalone? not identified as a script

Read the description, it is standalone, it is coded to be for a 1920 x 1080 p monitor and has to be adjusted for other screens, this is not a practical resource to use in a public sever instead something for others to build off of like a dev resource.

Hey,
i done a KM/H version cause there was some issues with the Left side, if you like it pls add it to your github and please add my credits

xSpeedometer.rar (9.7 KB)

looks good

Petoline sfondare speedo con calcio

petolineeeeeee stutututututu ahahah