-
Similar Content
-
Please Help
By X-Line,
- 11 answers
- 2,549 views
-
- 3 answers
- 854 views
-
- 6 answers
- 1,120 views
-
- 10 answers
- 2,400 views
-
- 2 answers
- 1,152 views
-
By X-Line,
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
g1doz
Hello guys i need a help about lua script
For example, I have a basic line of values and i can only find these values just in this order and arrangement
gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD)
and each value represents something in the game and in order to activate the cheat to a first value or any value in the line you must search for the same line once again okay?
So this line is basic to found this values, the problem lies about i activated the first value "1000" and edit this to "1111"
If I now want to activate second cheat, i can't because the main line "1000;2000;3000:9" is not the same as after the first cheat was activated "1111;2000;3000:9" and so on the rest of the values
Well my question is how to update the main search when I search for a second value, the search is updated according to whether a search was done before or not
For example, We do on this script
function home()
menu = gg.choice({"Hack 1","Hack 2","Hack 3")
if menu == 1 then hack_1() end
if menu == 2 then hack_2() end
if menu == 2 then hack_3() end
end
-- this basic search line gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD) and i can only find these values just in this order and arrangement
function hack_1()
gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD) -- example user activate hack_3 before hack_1 so search hack_1 don't work or if user want to activated hack_1 don't work because basic search line is changed so how update this serach ?
gg.getResults(3)
gg.refineNumber("1000", gg.TYPE_DWORD)
gg.getResults(1)
gg.editAll("1111", gg.TYPE_DWORD)
end
function hack_2()
gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD) -- example user activated hack_1 before hack_2 so search hack_2 don't work because basic search line is changed so how update this serach ?
gg.getResults(3)
gg.refineNumber("2000", gg.TYPE_DWORD)
gg.getResults(1)
gg.editAll("2222", gg.TYPE_DWORD)
end
function hack_3()
gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD) -- example user activate hack_2 before hack_3 so search hack_3 don't work because basic search line is changed so how update this serach ?
gg.getResults(3)
gg.refineNumber("3000", gg.TYPE_DWORD)
gg.getResults(1)
gg.editAll("3333", gg.TYPE_DWORD)
end
This a simple process, i want solution for this problem that works in the big script lines and thanks you guys !!
12 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