How to compile bhop script
I found a bhop script on a forum but i don't know how to compile it, could anyone help?
//Basic Bhop By Habit
//Pretty sure its gonna be vac proof forever since it doesnt access any memory within the game
#include <iostream>
#include <Windows.h>
using namespace std;
int main(){
start:
CONST int scrolldown = -120;
CONST int scrollup = 120;
while (true){
if (GetAsyncKeyState(VK_SPACE))
{
while (true)
{
Sleep(20); //play around with this for other games// 20 is best for cs 1.6
mouse_event(MOUSEEVENTF_WHEEL, 0, 0, scrolldown, 0); //make sure you have mwheeldown binded to +jump in game
if (GetKeyState(VK_SPACE))
{
goto start;
}
}
}
}
return 0;
}
//Basic Bhop By Habit
//Pretty sure its gonna be vac proof forever since it doesnt access any memory within the game
#include <iostream>
#include <Windows.h>
using namespace std;
int main(){
start:
CONST int scrolldown = -120;
CONST int scrollup = 120;
while (true){
if (GetAsyncKeyState(VK_SPACE))
{
while (true)
{
Sleep(20); //play around with this for other games// 20 is best for cs 1.6
mouse_event(MOUSEEVENTF_WHEEL, 0, 0, scrolldown, 0); //make sure you have mwheeldown binded to +jump in game
if (GetKeyState(VK_SPACE))
{
goto start;
}
}
}
}
return 0;
}
