So im doing addon which add custom hud. so my problem is how to add custom png Material so i can make jobs, like when you are Metro-Police it will show this image on the on the hud.
The result should look like this.
varname = Material( "materials/picture.png" )
surface.SetMaterial( varname )
surface.SetDrawColor( 255, 255, 255 )
surface.DrawTexturedRect( 0, 0, 50, 50 )
you can look the gmod wiki to find out what each arguments are. no need to explain all of that
Thank you very much ^.^
Sorry, you need to Log In to post a reply to this thread.