so I have just started to create a hud however the hud doesn't show until you pick up a prop with the physgun. It appears it follows the same outline of the prop as in colour/fading out when frozen etc.
Would this be a problem with a clashing addon?
[url]https://gyazo.com/71faa3f9612b9e787c5e1168afc19c26[/url]
[lua]
local barb = Material("skyrimhud/barb.png")
function DrawHUD2()
surface.SetMaterial(barb)
surface.DrawTexturedRect(0,0,426,29)
end
hook.Add("HUDPaint" , "Skyrimhud" , DrawHUD2)
[/lua]
You need to use surface.SetDrawColor
Thank you for the help, I feel so stupid now haha
Sorry, you need to Log In to post a reply to this thread.