After seeing many copies and resellers of this HUD, I decided to release the original completely free for everyone to use. I still don’t understand why so many people copy and resell it, especially since the design isn’t really up-to-date. For me, it’s time to release it and focus on creating something new. Enjoy!
“Oldschool” Real Life Online HUD design
Displays player ID, current postal code, money, job, hunger, and thirst
Showing current job icon
Use /p “postalcode” to set a waypoint to your postal code"
Don’t forget to read the readme! You’ll need to add a line of code to esx_status to get it working!
Du musst einfach in der client.lua die Zeilen 107 bis 118 durch die folgenden ersetzen:
CreateThread(function()
while true do
Wait(500)
if hudStarted then
TriggerEvent('esx_status:getStatus', 'drunk', function(d) drunk = d.getPercent() end)
TriggerEvent('esx_status:getStatus', 'thirst', function(t) thirst = t.getPercent() end)
TriggerEvent('esx_status:getStatus', 'hunger', function(h) hunger = h.getPercent() end)
SendNUIMessage({drunk = drunk, thirst = thirst, hunger = hunger})
local inMenu = not IsPauseMenuActive()
if hudVisible ~= inMenu then
toggleUI(inMenu)
end
end
end
end)
I just updated the download link to include a version with a readme file explaining how to get the HUD working. I apologize I had forgotten that I added a line of code to esx_status to make it work.