Stoned
03.08.2008, 09:39
TestMaterial[ hint ] = surface.GetTextureID( "vgui/notices/hint" )
ich hab die mats in materials/vgui/notices aber es laed es nicht? :(
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...
ich hab die mats in materials/vgui/notices aber es laed es nicht? :(
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...