Jump to content
  • 0

GameGuardian doesn't freeze values


external7772

Question

3 answers to this question

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.