RezaHaxz Posted March 23, 2020 Share Posted March 23, 2020 local r = gg.searchNumber(300,gg.TYPE_DWORD) gg.clearResults() how to get r value back after clearResults to search list?(not in save list) Link to comment Share on other sites More sharing options...
CmP Posted March 23, 2020 Share Posted March 23, 2020 You need to call "getResults" function to store results list in a variable. For example: gg.searchNumber('300', gg.TYPE_DWORD) local r = gg.getResults(100) Then, when results list has been cleared and you want to restore saved results, just use "loadResults" function: gg.loadResults(r) Link to comment Share on other sites More sharing options...
RezaHaxz Posted March 24, 2020 Author Share Posted March 24, 2020 7 hours ago, CmP said: You need to call "getResults" function to store results list in a variable. For example: 7 hours ago, CmP said: You need to call "getResults" function to store results list in a variable. For example: gg.searchNumber('300', gg.TYPE_DWORD) local r = gg.getResults(100) Then, when results list has been cleared and you want to restore saved results, just use "loadResults" function: gg.loadResults(r) Then, when results list has been cleared and you want to restore saved results, just use "loadResults" function: gg.loadResults(r) Thank you so much! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.