Amoronix Posted May 28, 2018 Posted May 28, 2018 is there a command to save values instead of editing them in script. gg.editAll the script does work when gg.saveAll is there.
Amoronix Posted May 28, 2018 Author Posted May 28, 2018 https://gameguardian.net/help/classgg.html#a7efd4ac7766e72688cb4a84a3915721e gg.savelist didn't work either...
Administrators Enyby Posted May 28, 2018 Administrators Posted May 28, 2018 You need study API help carefully.
CmP Posted May 29, 2018 Posted May 29, 2018 Here is the function to add search results to the saved list Parameters (optional) maxCount Max count of saved results. Returns True or string with error. Code: function saveAll(maxCount) local functionResult if type(maxCount) ~= 'number' then maxCount = 0xFFFFFFFF end if gg.getResultCount() == 0 then functionResult = 'Nothing found. No values to save.' return functionResult end local searchResults = gg.getResults(maxCount) if type(searchResults) == 'string' then functionResult = 'An error occured in function gg.getResults().' .. 'Info: ' .. searchResults else functionResult = gg.addListItems(searchResults) end return functionResult end Example of usage: gg.searchNumber('123', gg.TYPE_DWORD) saveAll() Note: code of the function must be included before any call of the function in your script.
TopGEOYT Posted February 8, 2019 Posted February 8, 2019 main = gg.getResults(1111)gg.addListItems(main)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.