Lua Code:
TestMaterial[ hint ] = surface.GetTextureID( "vgui/notices/hint" )
ich hab die mats in materials/vgui/notices aber es laed es nicht?
Lua Code:
surface.SetDrawColor( 255, 255, 255, 255) surface.SetTexture( TestMaterial[ hint ] ) surface.DrawTexturedRect( x + 16, y - 4, h - 8, h - 8 )
wenn dann das popup kommt, seh ich bloß ein weises bild...