I am adding a HUD via creating a module in darkrpmofications
I’d like to put an icon I have made via photoshop (it’s a .png file) in the hud, to represent health it’s called health-icon.png
I understand how to sync it to FastDL and get it to download via joining, however how would I actually implement it into a HUD using darkrpmodifications modules.
I tried the following but it seems to appear as pink&black squares:
surface.SetTexture(surface.GetTextureID("wcserverscustom/hud/health-icon")) surface.DrawTexturedRect(ScrW() - 220,ScrH() / 1.6,32,32)
Could anybody help me fix this so that I have a healthy icon ingame ;D