Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
HideHudComponentThisFrame(3) -- CASH
HideHudComponentThisFrame(4) -- MP CASH
HideHudComponentThisFrame(2) -- weapon icon
HideHudComponentThisFrame(9) -- STREET NAME
HideHudComponentThisFrame(7) -- Area NAME
HideHudComponentThisFrame(8) -- Vehicle Class
HideHudComponentThisFrame(6) -- Vehicle Name
end
end)
I myself just made a new fxmanifest and a new client.lua called it hudremover and added it to my server.cfg as its own resource.
The issue i am having is this line does not seem to remove the ammo counter in top right
HideHudCompenentThisFrame(2) – weapon icon
Also when you hit Z the money comes right back while holding Z as does all other things this script disables. Is tehre a way to detach Z from the items added within this script?