(shoot script is commented out)
i repeat
(the shoot script is commented out)
Code: Select all
// Fast Click.cpp : main project file.
#include "stdafx.h"
#include <iostream>
#include <windows.h>
using namespace std;
//int main()
//{
//while (true)
//{
//Sleep(50);
//if (GetAsyncKeyState(0x31))
/// {
// mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
// Sleep(50);
// mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
// Sleep(50);
// }
// }
//}
int main()
{
while (true)
{
Sleep(20);
if (GetAsyncKeyState(VK_RBUTTON))
{
{
keybd_event(VK_SPACE, 0x39, 0, 0);
Sleep(60);
keybd_event(VK_SPACE, 0x39, KEYEVENTF_KEYUP, 0);
//keybd_event(VK_SPACE,0,KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,0);
cout << "Jump ";
}
}
}
}