Velocity Check
I have been working on learning some C++ (coming from python) and have been attempting to get my bhop to work. I based it on another free one's source that I found somewhere. I got the hack working but when I am typing I still BHOP.
I have been trying to get my hack to not BHOP depending on my Velocity (I have heard of better ways of fixing my problem, but I don't want to yet because I am going to use the velocity in a future project).
I have all of the offsets needed in my Offsets header file
So below is the part that makes it work and it is using an if statement for the value of m_vecVelocity.
Why is the bunnyhop still working if my velocity is lower than 5?
I have been trying to get my hack to not BHOP depending on my Velocity (I have heard of better ways of fixing my problem, but I don't want to yet because I am going to use the velocity in a future project).
I have all of the offsets needed in my Offsets header file
Code:
DWORD m_vecVelocity = 0x110
Code:
if (m_vecVelocity > 5) {
if (GetAsyncKeyState(VK_SPACE) & 0x8000) {
if (FlagsOfPlayer & (1 << 0)) {
SetForceJump(5);
Sleep(25);
SetForceJump(4);
}
}
}
