Jump to content

Question

Posted

Hello.  

Quote

gg.searchNumber("95;75;3;200;1;130;9;1,075,419,546;26;1,065,353,216;26;1,094,713,344;26:49", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)

local results = gg.getResults(100) 

 

for i, v in ipairs(results) do

  if v.value == '75' then

    v.value = '85'

end

  if v.value == '26' then

    v.value = '4000'

end

   if v.value == '130' then

    v.value = '1400'

end

    if v.value == '9' then

    v.value = '400'

end 

gg.clearResults()

end

This is part of a larger script , and the script runs fine , no errors , but doesn't actually search and replace.  

I'm sure the answer must be staring me in the face .....but I've got nfi 🙄😢

Recommended Posts

  • 0
Posted

,

On 3/26/2021 at 1:53 PM, PublicHax said:

bruh

local x = [=[STARTED]=]

gg.toast(x)

a = 7.31

b = -1

gg.searchNumber(a, gg.TYPE_FLOAT)

gg.getResults(88888)

gg.editAll(b, gg.TYPE_FLOAT)

local y = [=[Activated]=]

gg.alert(y)

local z = [=[END]=]

print(z)

 

 

Hi. 

Can you explain what's happening here and how it relates to my question? I'm lost

  • 0
Posted (edited)

Hp hacks cause a ban. 

Other hacks ....not so much

 

 

 

 

Edited by sodaface

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.