Advertisement
jassm11

Untitled

Nov 14th, 2017
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. lastSpeed=1;
  3.  
  4. function checkKeys(timer)
  5. if (isKeyPressed(VK_E)) then if lastspeed ~= 10 then speedhack_setSpeed(10) lastSpeed=10 end
  6. else if lastspeed ~= 1 then speedhack_setSpeed(1) lastSpeed=1 end
  7. end
  8.  
  9. end
  10.  
  11. t=createTimer(nil)
  12. timer_setInterval(t, 100)
  13. timer_onTimer(t, checkKeys)
  14. timer_setEnabled(t, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement