SleekHUD Help

Hey guys! So I haven’t really done much of posting on here but I was wondering if I could get some help with my custom hud! I’m creating a hud, called SleekHUD. Not very Unique but for now, that’s the name. I’m having some trouble with the money portion of the hud. When the money gets so high, it ends up going off of the hud.

I also am trying to figure out how to create a hud over the players head, any suggestions / codes would be much appreciated (:

here is the hide hud code:

local hide = {
[“CHudBattery”] = true,
[“CHudHealth”] = true,
[“CHudAmmo”] = true,
[“CHudSecondaryAmmo”] = true,
[“DarkRP_HUD”] = true,
[“DarkRP_EntityDisplay”] = true,
[“DarkRP_Agenda”] = false,
[“DarkRP_LocalPlayerHUD”] = true,
}

function hideHUD(boolean)

if hide[boolean] then
return false
else return true
end
end
hook.Add(“HUDShouldDraw”, “hideHUD”, hideHUD)

Set the text alignment of your money and such to Left align, so that when it gets bigger it will expand to the right instead of the left (and right).

Haven’t done any hud stuff for a while so I don’t know the method off the top of my head

Thanks for letting me know how to fix that, I had that code already in but had it aligned to the center, never really thought about changing the alignment!

Glad you got it working!