I am developing a HUD but i have found that the chat is always behind the HUD.
I have used PANEL:MoveToBack() and i have also tried setting the ZPos of the panel but it doesn't work. I think i need to get target the chat panel and use PANEL:MoveToFront() but i dont know how to get that panel.
Does anyone have any solutions?
Thanks
http://prntscr.com/lbf7s5
Use a custom chat, there are plenty of open source chats that you can customize
I didn't want to override the chat considering it might be used by alot more people than me and i dont want to stop them from using other chat systems.
You could use Panel/PaintManual in a GM/HUDPaintBackground hook.
You should probably paint the hud in some paint hook rather than using the vgui/derma library.
But you can try Panel/ParentToHUD
Sorry, you need to Log In to post a reply to this thread.