Cornysz Posted November 30, 2018 Share Posted November 30, 2018 wik = gg.getResults(10)for i, v in ipairs(wik) dowik.value = '1'wik.freeze = falsewik.freezeType = gg.FREEZE_NORMALendgg.addListItems(wik) I want to edit all to 1 but in this script, it only save to the saved list not change the value to 1How to fix this? thanks in advance Link to comment Share on other sites More sharing options...
Administrators Enyby Posted November 30, 2018 Administrators Share Posted November 30, 2018 Use setValues if you need only setValues. When you add item to saved list, then value set too. You doing wrong loop. use wik instead of v, so you do not change anything. Link to comment Share on other sites More sharing options...
Cornysz Posted November 30, 2018 Author Share Posted November 30, 2018 Use setValues if you need only setValues. When you add item to saved list, then value set too. You doing wrong loop. use wik instead of v, so you do not change anything.Oh okay, my bad. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.