Advertisement
Guest User

Untitled

a guest
Oct 14th, 2015
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1. timer.Create("NoMoreAdverts", 1, 0, function()
  2.     CLOCKWORK_ADS = {};
  3. end)
  4.  
  5. -- alt
  6. function StopTheAds()
  7.     local validTimers = {};
  8.    
  9.     for i = 90000, 99999 do
  10.         if (timer.Exists("CloudSixteen"..i)) then
  11.             validTimers[1] = i;
  12.             break;
  13.         end;
  14.     end;
  15.    
  16.     for i = 90000, 99999 do
  17.         if (timer.Exists("PluginCenter"..i)) then
  18.             validTimers[2] = i;
  19.             break;
  20.         end;
  21.     end;
  22.    
  23.     timer.Remove("CloudSixteen"..validTimers[1]);
  24.     timer.Remove("PluginCenter"..validTimers[2]);
  25. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement