Advertisement
rdsedmundo

PB... lol

Aug 12th, 2012
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.72 KB | None | 0 0
  1.             Thread.Sleep(2000);
  2.             current_weapon_p = 200004036;
  3.             button2_Click(null, null);
  4.  
  5.             foreach (Process wordProcess in pid)
  6.             {
  7.                 SetForegroundWindow(wordProcess.MainWindowHandle);
  8.             };
  9.  
  10.             Thread.Sleep(1000);
  11.  
  12.             // VK_B
  13.             keybd_event(0x42, 0x0, 0, UIntPtr.Zero);
  14.             keybd_event(0x42, 0x0, 0x2, UIntPtr.Zero); // 0x2 = KEY_RELEASE
  15.  
  16.             Thread.Sleep(2000);
  17.  
  18.             mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
  19.             mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
  20.  
  21.             Thread.Sleep(1000);
  22.  
  23.               current_weapon_p = 100003058;
  24.  
  25.              button2_Click(null, null);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement