[Release] [ESX] [Discontinued] NP Style hud

So, after installing this, looks good, then I saw that the oxygen bar is messed up. I’ve tried to reinstall, removing cache and restarted the server with no luck.

Any ideas?

image

If you use vMenu it causes this because of vMenus infinite stamina

2 Likes

Any Idea what causes the health and water, and stress to always stay filled? The health armor and Voice indicator work but not the food water or stress
image

food and water bar not move zzzzzzzzzz

can you pls add some code example to see how to add the stress function on the HUD cuse im watching the code but i dont get it

It depends on what system you use but I will add some snippet in a couple of days :slight_smile:

Ive integrated the stress sistem in esx_basicneeds so it should work in status tho

You should add like

RegisterNetEvent("esx_status:onTick") 
AddEventHandler("esx_status:onTick", function(Status) 
hunger, thirst, stress = Status[1].percent, Status[2].percent, Status[3].percent
end)

ye i have made that but didnt worked

You also need to send the data to nui

in the html side right
?

Na f good hud but cant manage to get it working with basicneeds hunger and thirst didnt get lower

1 Like

I’ve had the same issue ever since the microphone portion was added. Never had this issue before that.

Huh its weird

By chance could you send me your basic_needs and status so I can see if theres just something wrong with mine

Ye that will help

Do you have ? In esx_status
TriggerEvent('esx_status:onTick', GetStatusData(true))

image

yep

I see you need to use the original
TriggerEvent("esx_status:onTick", GetStatusData(true))
Not the
TriggerEvent("esx_statushud:onTick", GetStatusData(true))

So the problem is you need to use the original esx_status:onTick ?