So i am trying to set an image on my panel(texture) but it shows as an error. Any help would be great.
This is the code
[CODE]local ItemDisplay = vgui.Create( "SpawnIcon", hello )
ItemDisplay:SetPos( 5, 5 )
ItemDisplay:SetModel( "vgui/entities/durgz_alcohol" )
ItemDisplay:SetToolTip(false)
ItemDisplay:SetSize(120,120)
ItemDisplay.PaintOver = function()
return
end[/CODE]
Sorry, you need to Log In to post a reply to this thread.