Tezter Posted July 8, 2019 Posted July 8, 2019 Does Anyone have any idea why the eye icon right down at corner disappear when the script start ? Or is there any solution to code that in my script to keep the eye icon visble ? I did that actually by accident in on of my scripts, but i couldn't figure out back how i did it. Thanks in advance
0 Administrators Enyby Posted July 8, 2019 Administrators Posted July 8, 2019 Eye icon only visible while GG UI visible. If you hide GG UI, then no eye icon. 1
0 Tezter Posted July 8, 2019 Author Posted July 8, 2019 Thx for your answer, I mean if I want to add something(numbers) when I using gg.prompt like down here in the script. Sometimes I have to add a large number I thought that the UI is visible when gg.prompt is running. i want to add something in a gg.prompt function hello() gg.setVisible(false) HH = gg.alert("Text text text ", "OK","Explanation") if HH == 1 then HOME() end if HH == 2 then Explanation() end end function Explanation() gg.alert([[ bla bla bla - Good Luck]]) end gg.toast("Good Luck") HOME = 1 function HOME() HM = gg.choice({"H-MENU"," EXIT"}, nil, "MADE BY Tezter") if HM == 1 then SMENU() end if HM == 2 then EXIT() end HOMEDM = -1 end function SMENU() SMEN = gg.choice({"Crates Hack Menu","↺ BACK"}, nil, " Armed Heist Hack MENU") if SMEN == 1 then CratesH() end if SMEN == 5 then HOME() end end function CratesH() CRH = gg.choice({ " Challenge Points Hack", "↺ BACK"}, nil, " Crates Hack Menu") if CRH == 1 then crh1() end if CRH == 4 then SMENU() end end function crh1() gg.clearResults() gg.processResume() gg.toast("☡ Read The Explanation Otherwise It Will Not Work ☡ ") v= gg.prompt({A='Add How Many Points You Have Instead Of The ? ',B= 'Add Here How Many Points You Want'},{A='1.12188e-43F;7.023e-44F;10.0F;4.254e-44F; ? D:125',B='Add Here How Many Points You Want'}) if v == nil then CratesH( gg.alert ('Script Canceled, No input') ) else gg.searchNumber (v.A, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(25) gg.editAll(v.B, gg.TYPE_DWORD) gg.processResume() gg.toast("Challenge Points Hack Is Successfull Activated") end end function EXIT() os.exit() end hello() while true do if gg.isVisible(true) then HOMEDM = 1 gg.setVisible(false) end if HOMEDM == 1 then HOME() end end CratesH() while true do if gg.isVisible() then gg.setVisible(false) HOME() end end
0 Administrators Enyby Posted July 8, 2019 Administrators Posted July 8, 2019 12 minutes ago, Tezter said: if gg.isVisible(true) then HOMEDM = 1 gg.setVisible(false) end if HOMEDM == 1 then HOME() end 13 minutes ago, Tezter said: if gg.isVisible() then gg.setVisible(false) HOME() end You need swap order of you code and hide GG UI. Because you firstly hide GG UI and second do your work. Obviously your gg.prompt work when GG UI hide. 1
0 Tezter Posted July 9, 2019 Author Posted July 9, 2019 Thx a lot for your help. It didn't exactly work for me how i want it. When i swap order i get the eye icon visible , but it start now with CratesH() instead of HOME() but i understand now how it work little bit. I will try to figire out further how it exactly work.
0 Administrators Enyby Posted July 9, 2019 Administrators Posted July 9, 2019 I pointed out to you the essence of the problem: you hide the interface first and then show the dialogs. Therefore, there are no eye icons. How you will eliminate it is your business. 1
0 HEROGAMEOfficial Posted July 9, 2019 Posted July 9, 2019 he wants the eye feature in the script. like gg.setVisible.
0 Administrators Enyby Posted July 9, 2019 Administrators Posted July 9, 2019 I think he doesn't need a lawyer to speak for him. And what he wants, he stated quite clearly. 1
0 Tezter Posted July 10, 2019 Author Posted July 10, 2019 13 hours ago, HEROGAMEOfficial said: he wants the eye feature in the script. like gg.setVisible. yes thx Herogame that is what i want,. Enyby, he is only trying to clear you out what I`am trying to say I work long days, I can't answer everything directly. when I get a chance I answer
0 Tezter Posted July 10, 2019 Author Posted July 10, 2019 (edited) I did figured it out. I will explain it here maybe someone can learn from it. I didn't have to swap any thing, the only thing what i did have to do is adding this line gg.setVisible(true) in my code where's I want to get the eye icon feasible. function hello() gg.setVisible(false) HH = gg.alert("Text text text ", "OK","Explanation") if HH == 1 then HOME() end if HH == 2 then Explanation() end end function Explanation() gg.alert([[ bla bla bla - Good Luck]]) end gg.toast("Good Luck") HOME = 1 function HOME() HM = gg.choice({"H-MENU"," EXIT"}, nil, "MADE BY Tezter") if HM == 1 then SMENU() end if HM == 2 then EXIT() end HOMEDM = -1 end function SMENU() SMEN = gg.choice({"Crates Hack Menu","↺ BACK"}, nil, " Armed Heist Hack MENU") if SMEN == 1 then CratesH() end if SMEN == 5 then HOME() end end function CratesH() CRH = gg.choice({ " Challenge Points Hack", "↺ BACK"}, nil, " Crates Hack Menu") if CRH == 1 then crh1() end if CRH == 2 then SMENU() end end function crh1() -- here's where i added the line so i can -- get eye icon feasible in this section -- of the code. gg.setVisible(true) gg.clearResults() gg.processResume() gg.toast("☡ Read The Explanation Otherwise It Will Not Work ☡ ") v= gg.prompt({A='Add How Many Points You Have Instead Of The ? ',B= 'Add Here How Many Points You Want'},{A='1.12188e-43F;7.023e-44F;10.0F;4.254e-44F; ? D:125',B='Add Here How Many Points You Want'}) if v == nil then CratesH( gg.alert ('Script Canceled, No input') ) else gg.searchNumber (v.A, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(25) gg.editAll(v.B, gg.TYPE_DWORD) gg.processResume() gg.toast("Challenge Points Hack Is Successfull Activated") end end function EXIT() os.exit() end hello() while true do if gg.isVisible(true) then HOMEDM = 1 gg.setVisible(false) end if HOMEDM == 1 then HOME() end end Edited July 10, 2019 by Tezter 1
0 Administrators Enyby Posted July 10, 2019 Administrators Posted July 10, 2019 Your solution can give side effect: open menu after that, like user click on gg icon. You need hide gg ui after prompt, for prevent that. [added 2 minutes later] gg.setVisible(true) -- call gg.prompt() here gg.setVisible(false) Something like that. 3
0 Tezter Posted July 10, 2019 Author Posted July 10, 2019 36 minutes ago, Enyby said: Your solution can give side effect: open menu after that, like user click on gg icon. You need hide gg ui after prompt, for prevent that. [added 2 minutes later] gg.setVisible(true) -- call gg.prompt() here gg.setVisible(false) Something like that. Thank you very much for correcting me, good to know .
Question
Tezter
Does Anyone have any idea why the eye icon right down at corner disappear when the script start ?
Or is there any solution to code that in my script to keep the eye icon visble ?
I did that actually by accident in on of my scripts, but i couldn't figure out back how i did it.
Thanks in advance
11 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