Jump to content
  • 0

for on and off menu


mlbb123190

Question

can some help me to fix this my record script in gg,,im newbee here please someone??

 

-- main code
gg.searchNumber("198D;1D;1D;0D;0F;0D::21", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
gg.processResume()
gg.processResume()
gg.refineNumber("5", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)

revert = gg.getResults(100, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(100, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
    if v.flags == gg.TYPE_DWORD then
        v.value = "99999999"
        v.freeze = true
    end
end
gg.addListItems(t)
t = nil

gg.processResume()

revert = gg.getResults(100, nil, nil, nil, nil, nil, nil, nil, nil)
local t = gg.getResults(100, nil, nil, nil, nil, nil, nil, nil, nil)
for i, v in ipairs(t) do
    if v.flags == gg.TYPE_DWORD then
        v.value = "5"
        v.freeze = true
    end
end
gg.addListItems(t)
t = nil

gg.processResume()
 

 

 

 

i appreciate any help!!

thank you!!

unliammo.txt

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Did you record this script? It looks like a recorded one. Actually, in the gg.searchNumber you used two word TYPE, the gg.TYPE_DWORD and TYPE_FLOAT. I'll recommen not adding the group size "::21", 512 is the default and it will be done by the script itself. Another mistake is with the gg.refineNumber, the number you refined was not among the group search. Try using this file below, i really can't tell if it will work. And remember to configure ur file as ".lua" not ".txt"

unliammo.txt

Link to comment
Share on other sites

24 minutes ago, El_dorado said:

Did you record this script? It looks like a recorded one. Actually, in the gg.searchNumber you used two word TYPE, the gg.TYPE_DWORD and TYPE_FLOAT. I'll recommen not adding the group size "::21", 512 is the default and it will be done by the script itself. Another mistake is with the gg.refineNumber, the number you refined was not among the group search. Try using this file below, i really can't tell if it will work. And remember to configure ur file as ".lua" not ".txt"

unliammo.txt 882 B · 1 download

yes i did,,i only raname it,,bec I can't open the scipt,

tnx for the info,,i'll try that.

 

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.