[RELEASE] New Smartwatch HUD

Hello, cfx.
I made this resource for our server, but now I want to share it.

Features:

  • Car seatbelt included.
  • You can use toggleui command to hide HUD.
  • Car speed included.

Video
Download

4 Likes

Nice Release <3

2 Likes

Really nice! Thanks!

Quick question, is it possible to hide the mini map while on foot and only make it show up while in a vehicle?

You’re welcome, @darkaxe23
Yes.
https://github.com/masterking32/master_hud/blob/d3685a76838a7ba373e0d3a89b9f5d0317dcc7c6/client/client.lua#L74
Change:

if IsInCar == false then
	Citizen.Wait(1000)
else
	Citizen.Wait(100)
end

to

if IsInCar == false then
	DisplayRadar(false)
	Citizen.Wait(1000)
else
	DisplayRadar(true)
	Citizen.Wait(100)
end

Would be great to add fuel to this, then it would be amazing.
Theres a bit of a delay on the speedo, took about 7 seconds for it to register that i had stopped.
Also, the buckle/unbuckle sounds arent working with InteractSounds

can you make this for vrp?

Thanks, it worked perfectly!

1 Like

image
Why i dont have images ??

me too

Hey, You need esx_status,
You need to have this line in your esx_status: LINK

Thank you!

Maybe later, I need to check VRP.

That’s a bit small and doesn’t have space for the fuel. (maybe later)

About delay:
You can decrease the wait for this and this one.

InteractSounds: put sounds into the interact-sound/client/html/sounds then open InteractSounds fxmanifest.lua and change this line from 'client/html/sounds/demo.ogg' to 'client/html/sounds/*.ogg'

can anyone send me the esx_status code the github link dont work