Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //* CSGO_RAPIDFIRE *//
- //" RECURSIVE *//
- #include <iostream>
- #include <windows.h>
- void RF (bool trueORfalse){
- while(trueORfalse == true && !GetAsyncKeyState(0x02)){ // checks if 'true' or 'false' was sent + RBUTTON
- if (GetAsyncKeyState(0x01)) {
- mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); // simulates mouse press
- mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); // simulates mouse release
- Sleep(200);
- mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); // simulates mouse press
- mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); // simulates mouse release
- Sleep(200);
- mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); // simulates mouse press
- mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); // simulates mouse release
- Sleep(200);
- }
- }
- }
- int main()
- {
- std :: cout << "CSGO EXTERNAL RAPIDFIRE 7/5/2015 -BY RECURSIVE-" << "\n\n\n";
- std :: cout << "LEFT MOUSE CLICK TO TURN ON" << "\n\n\n";
- std :: cout << "RIGHT MOUSE CLICK TO TURN OFF" << "\n\n\n";
- while (true) { // infinite loopcheck
- if (GetAsyncKeyState(0x01)) { // cheks if "LBUTTON" was pressed
- std :: cout << "RAPIDFIRE :: ON" << std :: endl;
- RF(true); // signals to bool -- true
- }
- else
- if (GetAsyncKeyState(0x02)){ // checks if "RBUTTON" was pressed
- std :: cout << "RAPIDFIRE :: OFF" << std :: endl;
- RF(false); // signals to bool -- false
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement