Jump to content

Hiding GUI's


Spajk

Recommended Posts

Destroy and recreate would be a pain in the ass if you're using an admins panel, imagine you're on another tab, destroy the tab and recreate and you want that same tab back, the tab will go back to the first tab. For i.e; your first tab = information, second tab are reports, you hide and open the panel the tab will be switched back to the first tab.

guiSetVisible is much better imo. However so, destroying and recreating 'could' be more useful in various occasions.

Link to comment

This actually depends in a situation, like for example a login GUI, you don't need it again later in the game, so you can destroy it, a admin panel for example will be a pain in the ass for recreating it the whole time.

So it really depends on what you are trying to make.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...