Guest User

Untitled

a guest
Jul 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. int Switch5 = ProcessMemoryReaderApi.GetKeyState(0xA1);
  2. if ((Switch5 & 0x8000) != 0)
  3. {
  4. act = !act;
  5. if (act)
  6. Console.WriteLine("true");
  7. else Console.WriteLine("false");
  8. }
  9.  
  10. private bool _IAmWorking;
  11. public void KeyEventHandler(EventArgs event)
  12. {
  13. if (_IAmWorking) return;
  14. _IAmWorking = true;
  15.  
  16. ......
  17.  
  18. _IAmWorking = false;
  19. }
Add Comment
Please, Sign In to add comment