Jump to content
  • 0

Make a simple value search


zuri

Question

Posted

I already know how to change and search the values but now I want to do it automatically. 

Probably a silly question because some where in this forum ( If its so just give me a link ) is the answer but I'm lazy to search, I want an example script and for what and why each part of it is used for and why they must be there. I am a complete newbie sorry If I'm asking to much :')

3 answers to this question

Recommended Posts

Posted
7 hours ago, zuri said:

I already know how to change and search the values but now I want to do it automatically. 

Probably a silly question because some where in this forum ( If its so just give me a link ) is the answer but I'm lazy to search, I want an example script and for what and why each part of it is used for and why they must be there. I am a complete newbie sorry If I'm asking to much :')

group search is ez

gg.searchNumber("10D;80D;40D", gg.TYPE_DWORD)

D = DWORD

same for float

gg.searchNumber("0.1F;0.9F;,0.04F;", gg.TYPE_DWORD)

please reply if this works for u

Posted

Yes, It worked for me thank you. gg searched the value, now. How do I made that gg change/modify them after the search?

Posted
12 hours ago, zuri said:

Yes, It worked for me thank you. gg searched the value, now. How do I made that gg change/modify them after the search?

you have to get results first

gg.getResults("yourNumber")

gg.editAll("your value",gg.YOUR_TYPE)

so like gg.TYPE_DWORD if you only want dword to be editied

or gg.TYPE_FLOAT 

you can learn the scripting api at: https://gameguardian.net/help/

this works 100%

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.