Hello FP
I need to know how to close created Menu vgui after choosing one of options?
Anyone know what I mean?
[lua]
yourFrame:Remove() -- removes it
-- or
yourFrame:Close() -- closes it
-- or
yourFrame:SetVisible(false) -- hides it
[/lua]
[b][url=http://wiki.garrysmod.com/?title=DFrame.Close]DFrame.Close [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
[b][url=http://wiki.garrysmod.com/?title=Panel.SetVisible]Panel.SetVisible [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
[b][url=http://wiki.garrysmod.com/?title=Panel.Remove]Panel.Remove [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
#Okay, I got it, it was my mistake :P
Thanks.
Sorry, you need to Log In to post a reply to this thread.