NamChivas Posted June 2, 2018 Share Posted June 2, 2018 I need help. I use gg to search for the following: GG gives me 314 values, but I just want to edit the two values first. In that value 101 I want it to become 30 and value 4 I want it to become 127. So how to write it into script? Link to comment Share on other sites More sharing options...
Moderators NoFear Posted June 2, 2018 Moderators Share Posted June 2, 2018 @Backlift can help. Also, look to doing this for search. 101;4::37 unless the distance between them doesn't stay that Link to comment Share on other sites More sharing options...
Administrators Enyby Posted June 3, 2018 Administrators Share Posted June 3, 2018 @NamChivas gg.searchNumber('10', gg.TYPE_DWORD) local r = gg.getResults(2) -- load items r[1].value = '30' r[2].value = '127' print('Edited: ', gg.setValues(r)) https://gameguardian.net/help/classgg.html#a91d0ba1d5ff843ce26eef210dae956f1 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.