Jump to content
  • 0

FREEZING for an amount of time


SAGEPAPI

Question

2 answers to this question

Recommended Posts

Ik how to do it:

if gg.getResultCount() == 2 then 
   for i,v in pairs(t) do 
   t[i].address = t[1].address - 0x4 
   t[i].flags = gg.TYPE_DOUBLE 
   t[i].value = 1 
   t[i].freeze = true 
   gg.setValues(t) 
   gg.addListItems(t) 
   gg.clearResults () 
   end 
   gg.sleep(5000)
   local p = gg.getListItems() 
   gg.loadResults(p)
   for i,v in ipairs(p) do
   p[i].freeze = false 
   gg.setValues(p) 
   gg.addListItems(p)
   end 
   end 

You need to sleep gg for the time u want (time is in millisec) 

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.