Need some tips with external auto strafer
So basically, I've made yesterday an external bhop. It's not the most effective but it works nontheless and it does it job.
My only problem is, I'd like to add an auto strafer. It'd be really nice and I wouldn't have to press A and D to strafe.
```
Is it actually possible to make an external autostrafer?
BTW, ignore the bindings. It's the only way I could get around it.
My only problem is, I'd like to add an auto strafer. It'd be really nice and I wouldn't have to press A and D to strafe.
```
Code:
#include <iostream>
#include <windows.h>
#include <conio.h>
enum Space {STOP, JUMP};
Space space;
void Input(){
switch(space){
case JUMP:
keybd_event(0x36,0x36,0,0);
Sleep(20);
case STOP:
keybd_event(0x36,0x36,KEYEVENTF_KEYUP,0);
Sleep(20);
}
space=STOP;
if(GetAsyncKeyState(VK_SPACE))
space=JUMP;
}
int main(){
int sw=1;
while(sw==1)
Input();
}
BTW, ignore the bindings. It's the only way I could get around it.