maulz Posted March 31, 2019 Posted March 31, 2019 Hello guys I have a question, when i try to freeze using this gg.getListItems(unl) for i, v in ipairs(unl) do unl[i].value = "200" unl[i].freeze = true end gg.setValues(unl) The values is changing but, the values not freezing. How can i fix it? Thanks in advance
CmP Posted March 31, 2019 Posted March 31, 2019 "setValues" function is not intended to freeze values, use "addListItems" function for this.
TopGEOYT Posted April 1, 2019 Posted April 1, 2019 19 hours ago, maulz said: Hello guys I have a question, when i try to freeze using this gg.getListItems(unl) for i, v in ipairs(unl) do unl[i].value = "200" unl[i].freeze = true end gg.setValues(unl) The values is changing but, the values not freezing. How can i fix it? Thanks in advance Use this code : gg.searchNumber('100', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)--search number and search type. local O = gg.getResults(50000)--get resuts for i, v in ipairs(O) do if v.flags == gg.TYPE_DWORD then v.value = '101'--type here edit all value. example search number was 100 and now it will be freezed and 101 . v.freeze = true end end gg.addListItems(O) O = nil
Question
maulz
Hello guys
I have a question, when i try to freeze using this
The values is changing but, the values not freezing. How can i fix it?
Thanks in advance
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.