• applying an overlay onto the players screen
    6 replies, posted
Basically I need a texture overlayed on the players screen when they zoom in with the ion cannon. I've got no idea where to start.
[url=http://wiki.garrysmod.com/?title=Surface.DrawTexturedRect]DrawTexturedRect[/url] maybe?
Huh. I must have missed the wiki page.
The wiki search is really bad.
I'm having an issue, it's only drawing a coloured rectangle not a material.
[url=http://wiki.garrysmod.com/?title=Surface.SetTexture]surface.SetTexture[/url] [url=http://wiki.garrysmod.com/?title=Surface.GetTextureID]surface.GetTextureID[/url] Are you using these?
Yeah I fixed it up.
Sorry, you need to Log In to post a reply to this thread.