I have the trew hud just want to turn off the default food/water hud!! help
2 Likes
Disabling Basic Needs Bars (resources[esx]\esx_basicneeds\client\main.lua esx_status:loaded
):
AddEventHandler('esx_status:loaded', function(status)
TriggerEvent('esx_status:registerStatus', 'hunger', 1000000, '#FFFF00', -- amarelo
--TriggerEvent('esx_status:registerStatus', 'hunger', 1000000, '#CFAD0F', -- GOLD
function(status)
return false -- Change to true to show hunger bar | false to hide hunger bar
end, function(status)
status.remove(100)
end
)
TriggerEvent('esx_status:registerStatus', 'thirst', 1000000, '#0099FF', -- azul
--TriggerEvent('esx_status:registerStatus', 'thirst', 1000000, '#0C98F1', -- CYAN
function(status)
return false -- Change to true to show thirst bar | false to hide thirst bar
end, function(status)
status.remove(75)
end
)
14 Likes
thank u!
do you know turn this one too
2 Likes
Should be in es_extended/client/main.lua
if IsControlJustReleased(0, 289) and IsInputDisabled(0) and not isDead and not ESX.UI.Menu.IsOpen('default', 'es_extended', 'inventory') then
ESX.ShowInventory()
end
⦠needs to be commented out.
1 Like
what you mean commented out??
1 Like
--if IsControlJustReleased(0, 289) and IsInputDisabled(0) and not isDead and not --ESX.UI.Menu.IsOpen('default', 'es_extended', 'inventory') then
-- ESX.ShowInventory()
-- end
This. Make it āgreenā.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.