[RELEASE] TREW HUD UI - A lightweight HUD for ESX, VRP AND VRPEX

So how can i fix it?

AGAIN, the error is going on a MAIN.JS file, that DOES NOT exist on my HUD.
What does exist is a MAIN.CSS file, which is responsible for visual styles, not dynamic coding, which has nothing to do with the error.

You can see on my _resources.lua that IT DOESN’T IMPORT ANY MAIN.JS file.

If you loaded and started trew_hud_ui, you can see it. And you should read that the error is going on the esx_newui script.

Read the debug messages.

Can i ask if you used any script of vehicle failure, with this UI? Im using RealisticVehicleFailure and its buggy.

No, I didn’t. I mostly used what is on the requirements list.

hi does anyone have a problem with the food going down way to fast ?
and know ho to fix

The HUD does not modify how fast hunger or thirst decreases.

You should change the ticks on your esx_basicneeds (of you’re on ESX) or on your survival module (if you’re on VRP/VRPEX)

How to disable voicechat feature?
I will be using tokovoip.

double jobs ?:thinking:

are you sure because its only happened after installed the hud should i make the ticks longer or shorter in number ?

set showVoice to false on config.lua … it’s on the instructions. :slight_smile:

I am. If you did the edits on the instructions by the esx_basicneeds, just decrease the value they remove each tick. :wink:

Check the server.lua. You will see the code I use to identify the jobs. Just edit them in the way you like.

TriggerEvent(‘esx_status:registerStatus’, ‘hunger’, 1000000, ‘#CFAD0F’, function(status)
return false
end, function(status)
status.remove(10)
end)

TriggerEvent('esx_status:registerStatus', 'thirst', 1000000, '#0C98F1', function(status)
	return false
end, function(status)
	status.remove(150)
end)

Citizen.CreateThread(function()
	while true do
		Citizen.Wait(1000)

		local playerPed  = PlayerPedId()
		local prevHealth = GetEntityHealth(playerPed)
		local health     = prevHealth

		TriggerEvent('esx_status:getStatus', 'hunger', function(status)
			if status.val == 0 then
				if prevHealth <= 150 then
					health = health - 2
				else
					health = health - 1
				end
			end
		end)

but doesnt that hide only the graphic feature ofthe script?
I mean when i set it to false, i will still able to talk via N

It will disable the HUDs features, but the voice is a part of GTA. If you’re using TokoVoip, you have to ask the players to disable voice chat inside the game.

1 Like

Question, are the turn indicators suppose to sync with other players? Players are reporting the indicators blink once very fast then stop blinking.

Well, it’s supposed to. I could check it out later on tonight, but as far as I’ve tested, it should sync.

It appears to be an issue with LuxVeh Control I’m investigating this on my end.

1 Like

Alright. Thanks! :smiley: