Small problem with virtual jump.
I keep having this strange problem where I can't get the virtual jump to go up. I can get it to go down but it doesn't work up. I don't see anything wrong with my code either. It is both my v jumps are the same except one is -1000 and one is 1000. Here is my code of it.
Code:
if(GetAsyncKeyState(VK_PRIOR)<0){
if(vup){
PushToConsole("CamMaxPosYOffset 0.000000");
vup = false;
} else {
PushToConsole("CamMaxPosYOffset 1000.000000");
vup = true;
}
Sleep(200);
}
/////////////////////////////////////////////////////////////////////////////////
if(GetAsyncKeyState(VK_NEXT)<0){
if(vdown){
PushToConsole("CamMaxPosYOffset 0.000000");
vdown = false;
} else {
PushToConsole("CamMaxPosYOffset -1000.000000");
vdown = true;
}
Sleep(200);
}