Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Thread.Sleep(2000);
- current_weapon_p = 200004036;
- button2_Click(null, null);
- foreach (Process wordProcess in pid)
- {
- SetForegroundWindow(wordProcess.MainWindowHandle);
- };
- Thread.Sleep(1000);
- // VK_B
- keybd_event(0x42, 0x0, 0, UIntPtr.Zero);
- keybd_event(0x42, 0x0, 0x2, UIntPtr.Zero); // 0x2 = KEY_RELEASE
- Thread.Sleep(2000);
- mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
- mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
- Thread.Sleep(1000);
- current_weapon_p = 100003058;
- button2_Click(null, null);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement