Jump to content
  • 0

REVERT


MilkyGT

Question

gg.searchNumber(82, gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)

revert = gg.getListItems
local t = gg.getResults(1)
gg.addListItems(t)
gg.clearResults()

for i, v in ipairs(t) do
	v.flags = gg.TYPE_DWORD 
		v.value = "1"
	end
	gg.setValues(t)


gg.sleep('2000')
gg.setValues(revert)

	

Anyone know how to revert this? (revert on save list) after i edit the value and i want to revert but there have problem, any solution for this? 

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.

×
×
  • 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.