- 0
need help writing a script
-
Similar Content
-
- 12 answers
- 7,018 views
-
- 0 replies
- 743 views
-
Help needed
By Djboss,
- 3 replies
- 1,058 views
-
- 3 answers
- 881 views
-
- 0 replies
- 520 views
-
By Djboss,
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
zolotov123344
I need a code that will minimize it when you click on the cancel button in the script. I have such a code and in fact it works fine, but when you go many times between the various menu sections of which I have a lot in the script, after pressing the cancel button, it’s completely tough, functions that in principle cannot be called from one menu begin to be called to another, so he noticed that after a long transition between menus, the cancel button starts working every other time, that is, I press cancel and the menu starts again and only the second time the menu is hidden. Here is my code please optimize it for me
while true do
if gg.isVisible(true) then
HOMEDM = 1
gg.setVisible(false)
end
if HOMEDM == 1 then
Test()
end
end
14 answers to this question
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