Jump to content
  • 0

Any lua script command to just ADD to a value??


spinninglink

Question

Currently I'm using a script to search for values then edit them, such as:

gg.searchNumber('"3483;698;210"', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0xb0b00000, 0xbf7fffff)
revert = gg.getResults(100)
gg.editAll('"1500"', gg.TYPE_DWORD)

 

However, I want to just add 1500 to the current values, I dont want to CHANGE IT completely.   Something like a gg.AddAll()  command? or something? 

Thank you!
 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

What do you mean "loop over table and add to value" .   I'm using  gg.getResults(100) already, but even when I record the script from game guardian and use the "add to value" option, it doesn't reflect it in the script. 

Link to comment
Share on other sites

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.