• Close Button
    2 replies, posted
Couldn't really think of a good title. Anyway, I have a menu that opens two ways. One way is when you first spawn. The other way is when you press F1. Neither have a close button, but I want a close button with the F1 menu. How would I add the close button just for the F1 menu, but not when you first join?
You'd need two seperate menus, identical to each other I think. I don't know whether you can actually do a ShowCloseButton() command when actually opening it serverside.
If you wanted to you could have it so after the menu from when you [i]first[/i] spawn, after the menu is opened, to send a umsg and make some variable (like ShouldShowCloseButton) to true, and inside the menu have it check if it's true, and if it is (at first it'd be false) to show the close button. You could also just have the umsg send when you press the F1 button, but then you'd have to send a umsg [i]EVERY[/i] time. This is just one method, there's loads more.
Sorry, you need to Log In to post a reply to this thread.