Jump to content
  • 0

How to freeze value in script?


LynxzGaming

Question

6 answers to this question

Recommended Posts

Posted
On 4/24/2018 at 9:30 PM, LynxzGaming said:

How to freeze value in script? 

example :

gg.searchNumber('78',gg.TYPE_DWORD)

gg.getResults(50)

gg.FreezeAll how? 

Use record script . 

Posted
gg.searchNumber('78',gg.TYPE_DWORD)

searchResults = gg.getResults(50)

for i, v in ipairs(searchResults) do
  v.freeze = true
end

gg.addListItems(searchResults)

Keep in mind, that searchNumber, getResults, addListItems functions might return a string with error in some cases.
Also you may want to check number of results before doing anything with them, use gg.getResultCount() for this.

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.