Jump to content
  • 0

reload value


blocx

Question

Posted

hi all someone know how to writte an reload function ? i explain i found value like than auto win but it turn to 0 ( but same adress along game ) if possible to make something in script to when i finish a party the value turn to 0 and i want when it come to 0 it auto reedit ? thx hope it clear

3 answers to this question

Recommended Posts

Posted
autowin={}

--this function is to search your value
function searchAutowin()
  --here you search your value
  --Let it be we get 1 result.
  autowin = gg.getResults(1)
end

--if autowin have a member, then it wont search again.
if #autowin==0 then
  searchAutowin()
end

--now you have readymade autowin value.
--edit like that if you want to edit 0.
autowin[1].value = 0
gg.setValues(autowin)

You can use many ways for this. not this method only.

 

for better explanation, you can upload a video how you get that value. then its more understandable what to write in script.

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.