Hey, I need some assistance with making an add on, so I have made my own scoreboard with custom materials, I get that the materials need to be client side (SteamApps\common\GarrysMod\garrysmod\materials). But how do I put all the materials into an add on so that my scoreboard still draws them on the screen?
[QUOTE=techwarfare;50536984]Hey, I need some assistance with making an add on, so I have made my own scoreboard with custom materials, I get that the materials need to be client side (SteamApps\common\GarrysMod\garrysmod\materials). But how do I put all the materials into an add on so that my scoreboard still draws them on the screen?[/QUOTE]
Could you try explaining this in a different way? I don't really understand what you're asking.
You could draw the images on your scoreboard using a [URL="https://wiki.garrysmod.com/page/Category:DImage"]DImage[/URL], or if it's for a HUDPaint hook or something, you could do [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/surface/SetMaterial]surface.SetMaterial[/url] then [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/surface/DrawTexturedRect]surface.DrawTexturedRect[/url]
Hey I solved the problem, in my addons folder the materials folder was called material not materials, so the file could not find the pictures. Someone lock this thread please.
You can lock it yourself with the button at the top left
Sorry, you need to Log In to post a reply to this thread.