Hey, I am releasing my first hud!
The hud is based on np style, its pretty simple and neat.
The code is not the prettiest but it works, feel free to tell me about my errors that I made.
Preview
![]()
Requirements
esx_basicneeds
esx_status
Link
Changelog
Hey, I am releasing my first hud!
The hud is based on np style, its pretty simple and neat.
The code is not the prettiest but it works, feel free to tell me about my errors that I made.
Preview
![]()
Requirements
esx_basicneeds
esx_status
Link
Changelog
is not the same code ? XD
Part of it yes
anything we need to change? doesnt seem to work with my food and water. have everything required.
Forgot to add something.
You need to add:
TriggerEvent('esx_statushud:onTick', GetStatusData(true))
In esx_status client/main.lua:
SendNUIMessage({
update = true,
status = GetStatusData()
})
--TriggerEvent('esx_status:onTick', GetStatusData(true))
TriggerEvent('esx_statushud:onTick', GetStatusData(true))
Citizen.Wait(Config.TickTime)
end
so im pretty sure the health and armor works but the hunger and thirst bars not working and stress is always red
i did add to the esx_status client main.lua TriggerEvent(‘SC_hud:onTick’, GetStatusData(true)) also renamed the folder SC_hud should i switch it back to the original and instead use ~TriggerEvent(‘SC-hud:onTick’, GetStatusData(true)) still need a big fix for the thirst and hunger since i dont use a stress system atm
sweet this actually fixed it after clearing some cache. thanks. Great hud! hopefully you come out with maybe something for a indication for voice and or radio. i use tokovoip so that would be amazing.
probably will add to this some kind of voice indicator 
cant wait to see what you come up with.
Dang this looks really good!
how to trigger the stress system…
Hey wassa got a question you might be able to help me with this but Im trying to change the stress icon to show when I talk! I was wondering if you know how to code that I use mumble voip so. Thanks
food doesn’t work for me.
I will post an update today with voice added 
you need to add for yourself the stress system trigger, i use the last status for drunknes
Try to remove the drunk value
RegisterNetEvent("esx_statushud:onTick")
AddEventHandler("esx_statushud:onTick", function(Status)
food, water = Status[1].percent, Status[2].percent
end)
Try to change the food index and water index, look in your database how it stores it
Thank you so much!