Hello, I was trying to make a custom close button but nothink worked could some one help me please.
[code]
local closebtn = vgui.Create( "DButton", parentpnl )
function closebtn:DoClick()
parentpnl:Close()
end
[/code]
???
[QUOTE=timz9;50709847][code]
local closebtn = vgui.Create( "DButton", parentpnl )
function closebtn:DoClick()
parentpnl:Close()
end
[/code]
???[/QUOTE]
thanks mate xD i did try that tho :3
Sorry, you need to Log In to post a reply to this thread.