A 3D speedometer script for FiveM
Preview
Screenshots
Installation
- Download from Github: hologramSpeed
- Copy the
hologramSpeed
folder to your server resources folder - Add
start hologramSpeed
to yourserver.cfg
- Restart the server
Configuration
Config = {
-- The hologram model name, do not change this
modelName="hologram_box_model",
-- The speedometer UI page url
duiUrl="https://kasuganosoras.github.io/hologramSpeed/ui/hologram.html",
-- User default profile --
keyControl = 243, -- The key to enable or disable the speedometer
useMph = false, -- Using MPH unit
useNve = false, -- Using NVE graphic mods
}
Commands
The base command is: /hsp
, parameters:
- (No parameter) – Display or hide the speedometer
-
mph
– Enable or disable the MPH display (Need restart game) -
nve
– Enable or disable the NVE mode (Need restart game)
Example use: /hsp mph
(Turn on the MPH display)
Key
The default key to display/hide speedometer is ~
(Above the Tab key)
You can change the key code in config.lua
.
FAQ
Q: Why my speedometer is blurred? |
A: You should remove your NVE Motion Blur mod and disable motion blur in the game settings. |
Q: Why I can’t see the speedometer UI? I only can see your avatar. |
A: Check your configuration and make sure your duiUrl is correct and accessible. |
Host your own page
The default UI page is host on the Github. if you want to host the page by yourself, you should:
- Copy the
ui
folder to your website root folder, such asD:WebMyWebSite
. - Set
duiUrl = "http://your-website-here/ui/hologram.html"
in yourconfig.lua
. - Restart the server.
Enjoy! 
Original source: https://forum.cfx.re/t/release-hologram-speedometer/1959568