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

hi, but where do i have to paste this?

From DankerLlama
i.e. delete
hunger, thirst = basics[2].percent, basics[3].percent
and replace it with something like

    for i=1, #basics, 1 do
        if basics[i].name == 'hunger' then
            hunger = basics[i].percent
        elseif  basics[i].name == 'thirst' then
            thirst = basics[i].percent
        end
    end

if i restart my server the bars go empty, and after i restart esx_status the bars will fill

Can somebody help me with this bug

Yes i tried and it worked!

1 Like


no bars when i log on is going to zero

How can i add health and armor on the ladderhud ? i’ve got ready the css part.

Hi Marmota, nice HUD! Looks slick!
For me the water HUD works but the food one seems to be broken.

Any suggestions?

From DankerLlama
i.e. delete
hunger, thirst = basics[2].percent, basics[3].percent
and replace it with something like

    for i=1, #basics, 1 do
        if basics[i].name == 'hunger' then
            hunger = basics[i].percent
        elseif  basics[i].name == 'thirst' then
            thirst = basics[i].percent
        end
    end

^
This fixed my issue

hunger, thirst = basics[1].percent, basics[2].percent
hunger, thirst = basics[2].percent, basics[3].percent

try this

can you share your resource pls?

With that main.lua it’s good! Thanks man

Hello, how can I put drink and food in my server vrpex?
Anyone can help me?

wow!.. nice… can share the file ?

Please, how i can increase the timer for hunger?

so what should i do for the solution i just dont understand

Thank you ! that file saved my problem lol !

Could you tell me which lines i gotta change to setup the ticks tho ? I can’t seem to see where

Someone help me my status’s are blank

It’s a very nice HUD! but i would like to move it to the left near the Mini-Map. How can i do that?

I already tried the Solution at the Downloadsite but i cant get it to work without this Error. Any help please?