external7772 Posted December 17, 2021 Share Posted December 17, 2021 gg.searchNumber('6;6;9;0;1;0;0::25') p = gg.getResults(7) gg.addListItems(p) gg.editAll('6;6;9;6;6;9;0',gg.TYPE_DWORD) p.freeze = true gg.toast("Tower Locked! ") end GameGuardian add values to list but not freeze it. How to solve this problem? Link to comment Share on other sites More sharing options...
LMAO69 Posted December 17, 2021 Share Posted December 17, 2021 1 hour ago, external7772 said: p = gg.getResults(7) There are 7 members in your table 'p'. each member has its own address, type, value etc. 1 hour ago, external7772 said: p.freeze = true you cant use like that. its like you create a new member instead of freeze existing 7 members. You should do freeze for each member of 7. like this.  p = gg.getResults(7) p[1].value=6 p[1].freeze=true p[2].value=6 p[2].freeze=true .......(do the rest as above example, i skip 3 to 5) p[6].value=0 p[6].freeze=true p[7].value=0 p[7].freeze=true gg.setValues(p) gg.addListItems(p)  or u can do with a loop if u feels its a long steps. like this. p = gg.getResults(7) edits = {6, 6, 9, 6, 6, 9, 0} --this table store the values you will edit for i, v in ipairs(p) do   v.value=edits[i]   v.freeze=true end gg.setValues(p) gg.addListItems(p) Link to comment Share on other sites More sharing options...
external7772 Posted December 17, 2021 Author Share Posted December 17, 2021 Yep bro it's working, but after rejoin in other menu and going back it's unfreeze yourself. don't know what problem.... Link to comment Share on other sites More sharing options...
HEROGAMEOfficial Posted December 18, 2021 Share Posted December 18, 2021 6 hours ago, external7772 said: gg .searchNumber('6;6;9;0;1;0;0::25') p = gg .getResults(7) for a, b in next, p do b.freeze = true end gg .addListItems(p) gg .editAll('6;6;9;6; 6;9;0', gg .TYPE_DWORD) gg .toast("Tower Locked! ") end Try it. Link to comment Share on other sites More sharing options...
Question
external7772
gg.searchNumber('6;6;9;0;1;0;0::25')
p = gg.getResults(7)
gg.addListItems(p)
gg.editAll('6;6;9;6;6;9;0',gg.TYPE_DWORD)
p.freeze = true
gg.toast("Tower Locked! ")
end
GameGuardian add values to list but not freeze it. How to solve this problem?Â
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.