shakib187 Expert Cheater
Reputation: 0
Joined: 24 May 2007 Posts: 215
|
Posted: Fri Apr 26, 2013 1:40 am Post subject: [c++] How to check for value and send Mouseclick on a loop? |
|
|
{
cout << "Aether has been Opened" << endl;
DWORD pointer = 0x00CF5D08;
DWORD pointed;
ReadProcessMemory(hProc,(LPCVOID)(pointer), &pointed, 4, NULL);
cout << "You are currently aiming at the enemy" << pointed << endl;
if (pointed == 0){
mouse_event (MOUSEEVENTF_LEFTDOWN);
}
}
C++ saying mouse_event cannot take 1 arguements
someone please tell me what function I can use to check the value of the pointer to left click every time the value changes from 0 to 1
|
|