Jump to content
  • 0

Value Not Freezing


star360

Question

I tried this script but values are not freezing, it's automatically changed again and again

What's proper solution of this

gg.setRanges(gg.REGION_C_ALLOC)
  gg.searchNumber("12345", gg.TYPE_FLOAT, false, gg.SGN_EQUAL, 0, -1)
  if gg.getResultCount() == 0 then
    gg.alert("NOT FOUND")
  else
    gg.searchNumber("12345", gg.TYPE_FLOAT, false, gg.SGN_EQUAL, 0, -1)
    resultsCount = gg.getResultCount()
    results = gg.getResults(resultsCount)
    for i = 1, resultsCount do
      gg.addListItems({
        [1] = {
          address = results[i].address + 0,
          flags = 4,
          freeze = true,
          value = 67890
        }
      })
 end
    gg.toast("SUCCESS")
  end

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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.