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

Update

  • Fixed the issue with needs thanks to D4NDI83
2 Likes

image

how do i center under the map im new at this… and can i get rid of the stress?

Also my food and water isn’t moving

how do you add the ensure ??

Hwo can i change the voice activated?
It is not under det styles.css
POV : image

fix? :smiley:

when I put the map with escape, it displays above the hud for me

image|690x388

so im new to fivem and was looking for a nice looking hud and come across this and thought why not give it a go at messing with it .so after a while of searching through forums and learning little bits i ended up with this
thnx to boost for posting this hud .

Hey first of all I like the look of the hud!
Unfortunately I can not get the esx_status to run either.

I have already tried the following:
renamed the HUD to SC_hud
line 42 to 51 in client.lua

RegisterNetEvent(“SC_hud:onTick”)
AddEventHandler(“SC_hud:onTick”, function(Status)
TriggerEvent(‘esx_status:getStatus’, ‘hunger’, function(status)
hunger= status.val / 10000
end)
TriggerEvent(‘esx_status:getStatus’, ‘thirst’, function(status)
thirst = status.val / 10000
end)
end)

At the same time I changed the following in esx_status:
esx_status/client/main.lua
line 67 to 92:

if Config.Display then TriggerEvent(‘esx_status:setDisplay’, 0.5) end
Citizen.CreateThread(function()
while ESX.PlayerLoaded do
for i=1, #Status, 1 do
Status[i].onTick()
end
local data = GetStatusData(true)
if Config.Display then
local fullData = data
for i=1, #data, 1 do
fullData[i].color = Status[i].color
fullData[i].visible = Status[i].visible(Status[i])
end
SendNUIMessage({
update = true,
status = GetStatusData()
})
end
–TriggerEvent(‘esx_status:onTick’, data)
TriggerEvent(‘SC_hud:onTick’, GetStatusData())
Citizen.Wait(Config.TickTime)
end
end)
end)

Originally the line was written as follows:

Citizen.CreateThread(function()
while ESX.PlayerLoaded do
for i=1, #Status, 1 do
Status[i].onTick()
end
local data = GetStatusData(true)
if Config.Display then
local fullData = data
for i=1, #data, 1 do
fullData[i].color = Status[i].color
fullData[i].visible = Status[i].visible(Status[i])
end
SendNUIMessage({
update = true,
status = fullData
})
end
TriggerEvent(‘esx_status:onTick’, data)
Citizen.Wait(Config.TickTime)
end
end)
end)

Even if I write the following:
TriggerEvent(‘SC_hud:onTick’, fullData) or TriggerEvent(‘SC_hud:onTick’, data).

it does not work… anyone have a fix?

why is my hunger isnt working?

If you are still wanting to know you can just remove/comment anything in the code that checks for them

Can someone help me ? this is why all indicators can’t work, I use base esx legacy 1.8.5

Use this instead

Are you self promoting your resource ? :expressionless:

What am i doing here wrong ? This resource is discontinued and I’am not working on it so if you need a hud there is a new resource I made

oh ok, but the old model is good