Jump to content
  • 0

Xoklys

Question

Posted

I got my results, added them to the save list and now I want to edit them all.

I typed in:

gg.getListItems(a)

gg.editAll('1',gg.TYPE_DWORD)

 

6 answers to this question

Recommended Posts

Posted
On 10/2/2019 at 9:12 PM, Xoklys said:

I got my results, added them to the save list and now I want to edit them all.

I typed in:

gg.getListItems(a)

gg.editAll('1',gg.TYPE_DWORD)

 

t = gg.getListItems()

gg.loadResults(t)

gg.getResults(5000)

gg.editAll('1',gg.TYPE_DWORD)

or 

t = gg.getListItems()

for i,v in ipairs(t) do 

t[ i ].value = 1

end 

gg.setValues(t)

 

  • Administrators
Posted

Or load as search results and editAll, or load all items to table, in loop set new value, and use setValues with this table.

Posted

Ok but sry I don't know much about this command could you send me code pls?

Posted

you can just simply use the record script function in GG to search,edit and save the codes...or make it yourself as simple as this :-

gg.searchNumber (100, gg.TYPE_FLOAT)

local t = gg.getResults (100)

gg.editAll (999999, gg.TYPE_FLOAT)

gg.addListItems(t)

gg.clearResults ()

 

if you manually search the codes...you just select all...and edit.

no need script to edit.

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.