[Release] [vRP] [ESX] Hud of thirst and hunger for FiveM (ladderhud)

Did you installed InglêsKhmerEspanhol correctly?

Hello, if you have esx gamemode you need to change this string:

Add TriggerEvent in (resources[esx]\esx_status\client\main.lua esx_status:load)
TriggerEvent('esx_ladderhud:updateBasics', GetStatusData(true))
to look like this

RegisterNetEvent('esx_status:load')
AddEventHandler('esx_status:load', function(status)

	for i=1, #Status, 1 do
		for j=1, #status, 1 do
			if Status[i].name == status[j].name then
				Status[i].set(status[j].val)
			end
		end
	end

	Citizen.CreateThread(function()
	  while true do

	  	for i=1, #Status, 1 do
	  		Status[i].onTick()
	  	end

			SendNUIMessage({
				update = true,
				status = GetStatusData()
			})
	
		TriggerEvent('esx_ladderhud:updateBasics', GetStatusData(true))
	    Citizen.Wait(Config.TickTime)
	  end
	end)

end)
Disabling Basic Needs Bars (resources[esx]\esx_basicneeds\client\main.lua esx_status:loaded)
AddEventHandler('esx_status:loaded', function(status)

	TriggerEvent('esx_status:registerStatus', 'hunger', 1000000, '#FFFF00', -- amarelo
	--TriggerEvent('esx_status:registerStatus', 'hunger', 1000000, '#CFAD0F', -- GOLD
		function(status)
			return false -- Change to true to show hunger bar | false to hide hunger bar
		end, function(status)
			status.remove(100)
		end
	)

	TriggerEvent('esx_status:registerStatus', 'thirst', 1000000, '#0099FF', -- azul
	--TriggerEvent('esx_status:registerStatus', 'thirst', 1000000, '#0C98F1', -- CYAN
		function(status)
			return false -- Change to true to show thirst bar | false to hide thirst bar
		end, function(status)
			status.remove(75)
		end
	)
1 Like

Possibly add a third one for esx_optionalneeds (drunk)

Do you like this ESX HUD?

8 Likes

I’ve used a similar one and everyone liked it. However, it didn’t display society money for bosses, so it was removed.

What file is this string in?

You can check it here: https://github.com/MarmotaGit/esx_ladderhud

go in the description

I must say you keep making these huds look better every time. :+1::sunglasses::grinning:
Always look forward to your releases Marmota.

1 Like

How can ı change Hunger and Thirsty times

Would it be possible to keep the hud on top of the minimap?

yes ofc
(20char)

yes, you need to edit the .css

1 Like

Thanks

my status bar is empty any idea ??

where in the css file do i change the position of the bars? Btw awesome looking hud

Hey mate, the status bars are empty, doesnt seem to be updating, ive configured it properly, do i need to update esx_status or something?

2 Likes

how to lift up?

How can I change first show notifications?

I think you cant change the gta v notify, you can try use pnotify

1 Like

this same problem

1 Like