Can't seem to get bhop to work while crouching
Right, so i'm reading if the player is on the ground, if they are, force a jump. Pretty basic, standard bhop hack. It's external in C#. However, if I'm crouching, it doesn't work at all, and If I have it check if the player is just not in the air, so it should, in theory, work while they're crouching on the ground, it's delayed. Like it takes a second or so to bhop after landing.
Here's what the code for it looks like.
'ReadByte' and 'WriteInt' are methods I wrote, didn't think it was really necessary to post them, since it's just RPM and WPM.
Here's what the code for it looks like.
Code:
if (GetAsyncKeyState(0x20) != 0)
{
byte onGround = ReadByte(LP + mFlags);
if (onGround != 0)
{
WriteInt(Client + oForceJump, 5);
Thread.Sleep(100);
WriteInt(Client + oForceJump, 4);
}
}

