i have question, So the script have ON/OFF, turn ON Button is good, but When i try to REVERT With OFF button, its so delay like 1minute+/- to revert the values in SAVE LIST the problem is when i click OFF button there have delay idk why i didnt put gg.sleep('')
**Can you gimme example how to REVERT Values on save list in lua script**
i already put this file for example, its work but when i put into Menu ON/OFF the problem at OFF Menu
As you can see at the picture (i try to Edit and Revert on save list) but idk the script **gimme example pls**
**↓↓I try this code for Menu ON↓↓**
revert = gg.getListItems(1)
rev = gg.getListItems(6)
t = gg.getListItems(10)for i, v in ipairs(t)do
v.flags = gg.TYPE_DWORD
v.value =5end
gg.setValues(t)
AND
**↓↓i use this code for Menu OFF↓↓**
gg.setValues(revert)
gg.setValues(rev)
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
MilkyGT
i have question, So the script have ON/OFF, turn ON Button is good, but When i try to REVERT With OFF button, its so delay like 1minute+/- to revert the values in SAVE LIST the problem is when i click OFF button there have delay idk why i didnt put gg.sleep('')
**Can you gimme example how to REVERT Values on save list in lua script**
i already put this file for example, its work but when i put into Menu ON/OFF the problem at OFF Menu
As you can see at the picture (i try to Edit and Revert on save list) but idk the script **gimme example pls**
Mwhwhhehe.lua
13 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