Jump to content

Archived

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

Pasaii

Editing values in SavedList

Recommended Posts

hi gg team, how can i get back my SearchResults in SavedList into SearchResultsList or editing value in SavedList using lua script, i tried it like this but it didn't work..

 

function CheatON()

 

gg.setRanges(gg.REGION_ANONYMOUS)

 

gg.searchNumber('A', gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1)

 

t = gg.getResults(9)

 

for i, v in ipairs(t) do

 

t.value = 'Z'

 

end

 

gg.addListItems(t)

 

gg.clearResults()

 

end

 

 

 

the data/value have been saved in SavedList, sometime i need edit results, so i try this to load the results back in search results list

 

function CheatOFF()

 

t = gg.getListItems()

 

gg.loadResults(t)

 

gg.getResults(9)

 

gg.editAll('A', gg.TYPE_FLOAT)

 

gg.clearResults()

 

end

but it did't work..

please help n sorry about my bad english..

Share this post


Link to post
Share on other sites

Use setValues for edit values. Or addListItems.

Share this post


Link to post
Share on other sites

×
×
  • Create New...