- 0
Return to original value
-
Similar Content
-
- 2 replies
- 2,648 views
-
- 5 replies
- 1,193 views
-
- 9 replies
- 5,439 views
-
- 0 comments
- 16,523 views
-
- 3 answers
- 1,185 views
-
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.
Question
blackturbo
Select Close. I want it to return to its original state.
My script.
if cstatus1 == on then
cstatus1 = off
else
cstatus1 = on
end
if cstatus1 == on then
gg.setRanges(32)
gg.searchNumber("1401;19:5",4)
gg.refineNumber("1401",4)
local start = gg.getResults(1)
local target = start[1].address + 0x4
local target2 = start[1].address + -0x4C
local target3 = start[1].address + -0x9C
local target4 = start[1].address + -0xEC
gg.setValues ({
{address = target,flags=4,value=150000},
{address = target2,flags=4,value=150000},
{address = target3,flags=4,value=150000},
{address = target4,flags=4,value=150000}})
gg.toast("[ON]")
else
Help me
Return to original value
gg.clearResults()
gg.toast("[OFF]")
end
Edited by blackturbo3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now