Jump to content
  • 0

How to edit with variable?


Nezuna

Question

First sorry for bad English

 

So i make a script for example like this

gg.searchNumber('2312',gg.TYPE_DWORD)
val = gg.getResults(20)

I save my results to variable val

Then i want to edit the results and make a choice

huy=gg.choice({'hellow','ok'},nil,'script')
 
if huy == 1 then --here i want edit val to 0
end 
if  huy == 2 then -- here i want edit val to 999
end 

Can you guys help me.... Your reply means a lot for me pls thanks anyway

[added 0 minutes later]
Just now, Nezuna said:

First sorry for bad English

 

So i make a script for example like this


gg.searchNumber('2312',gg.TYPE_DWORD)
val = gg.getResults(20)

I save my results to variable val

Then i want to edit the results and make a choice


huy=gg.choice({'hellow','ok'},nil,'script')
 
if huy == 1 then --here i want edit val to 0
end 
if  huy == 2 then -- here i want edit val to 999
end 

Can you guys help me.... Your reply means a lot for me pls thanks anyway

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.