function FLYL()--freeze fly code
gg.clearResults()
gg.setRanges(gg.REGION_C_ALLOC)
gg.searchNumber("10000", gg.TYPE_DWORD,false, gg.SIGN_EQUAL,0,-1)local t = gg.getResults(900)for i, v in ipairs(t)do
v.value ="9999"
v.name ='lock fly'
v.freeze =true
v.freezeType = gg.FREEZE_NORMAL
end
gg.addListItems(t)
gg.toast(" lock fly ")endfunction FLYU()--unfreeze fly codelocal ros = gg.getListItems()for i, v in ipairs(ros)doif v.name =="lock fly"thenlocal x == gg.getListItems()
v.value ="9999"
v.name ='lock fly'
v.freeze =false
v.freezeType = gg.FREEZE_NORMAL
endend
gg.removeListItems(x)
gg.toast(" unlock fly ")end
From the command above,i dont know the suitable command to remove the named value in the save list,
I know ,i can simply unuse the gg.clearResults() command after searching a value,and freeze/unfreeze by adding the searched value using gg.addListItems() command.But this is what it is,i mean if this was only the method to freeze/unfreeze value then it would be trouble some to edit multiple value at the same time,also to freeze/unfreeze value without affecting another value in the saved list.
i hope someone could write the correct command for me so i can finish my script.
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
KarimIdris999997
From the command above,i dont know the suitable command to remove the named value in the save list,
I know ,i can simply unuse the gg.clearResults() command after searching a value,and freeze/unfreeze by adding the searched value using gg.addListItems() command.But this is what it is,i mean if this was only the method to freeze/unfreeze value then it would be trouble some to edit multiple value at the same time,also to freeze/unfreeze value without affecting another value in the saved list.
i hope someone could write the correct command for me so i can finish my script.
@MonkeySAN @Rizuki
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.