undefined Posted April 5, 2014 Posted April 5, 2014 (edited) Hi Guys. I have a problem. For example; When I click two times to Level 1, doesn't close "HPGridLev1". Where is my mistake? Help me pls... Edited April 14, 2014 by Guest
Castillo Posted April 5, 2014 Posted April 5, 2014 That's because you're constantly creating it, and never destroying the current one.
Castillo Posted April 5, 2014 Posted April 5, 2014 You can either create the GUI just once and then you show/hide it, or you can add to destroy the GUI when attempting to show it if already exists.
undefined Posted April 5, 2014 Author Posted April 5, 2014 Im fixed this problem. Thank you Castillo.
undefined Posted April 5, 2014 Author Posted April 5, 2014 (edited) It's began to fail. Its not change stats and not take player money Pff Client-Side Client Side Server-Side Server Side And its give this error on debugscript3 Edited April 5, 2014 by Guest
Castillo Posted April 5, 2014 Posted April 5, 2014 You are still creating the GUI elements all the time. Also, why don't you create one single window for all levels and then just change the text with guiSetText?
undefined Posted April 12, 2014 Author Posted April 12, 2014 (edited) Ok. I've used the gui Set Text. But the Upgrade button and how can I correct the image? They come on top. .... Edited April 14, 2014 by Guest
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now