VGUI Panels in Source Engine
Okay so I am making an esp for CSS and I've been able to get the locations of all the ents and translate them to screen coordinates and all that, but when I do g_pISurface->DrawOutlinedRect(x1,y1,x2,y2); it doesn't draw anything, none of the drawing functions do anything. So I've looked around and found the best way is to make a vpanel with nothing on it that covers the entire screen, essentially making a surface to draw it on. Unfortunately I have no idea how to set this up, and I've attempted with some public source code on game deception but I'm not getting anywhere. Does anyone know how to set up a vpanel like that to work properly.
Also, I did follow this tutorial:
developer.valvesoftware.com/wiki/VGUI2:_Creating_a_panel
But whenever I call mypanel.Create(parent); it crashes the game
Any help is appreciated, thanks in advance
~lilneo
Also, I did follow this tutorial:
developer.valvesoftware.com/wiki/VGUI2:_Creating_a_panel
But whenever I call mypanel.Create(parent); it crashes the game
Any help is appreciated, thanks in advance
~lilneo