[esx_status] How to remove this bars

How to remove this bars (esx_status default)

image

https://github.com/ESX-Org/esx_status/blob/master/html/ui.html#L10

comment/remove this div

1 Like

I only need a way to toggle it so i can take pictures,

you sure about this ?

Go to esx_basicneeds → client → main.lua and replace

TriggerEvent('esx_status:registerStatus', 'hunger', 1000000, '#CFAD0F', function(status)
	return true
end, function(status)
	status.remove(100)
end)

TriggerEvent('esx_status:registerStatus', 'thirst', 1000000, '#0C98F1', function(status)
	return true
end, function(status)
	status.remove(75)
end)

with

TriggerEvent('esx_status:registerStatus', 'hunger', 1000000, '#CFAD0F', function(status)
	return false
end, function(status)
	status.remove(100)
end)

TriggerEvent('esx_status:registerStatus', 'thirst', 1000000, '#0C98F1', function(status)
	return false
end, function(status)
	status.remove(75)
end)