@ #includes:
double ValZ=0.000000;
@ Void Main()
if(GetAsyncKeyState(VK_NUMPAD1)<0){//Fly hack(just was testing dont mind the name)
if(fly){
PushToConsole("CamMaxPosYOffset",ValZ);
fly = false;
} else {
ValZ++;
PushToConsole("CamMaxPosYOffset",ValZ);
fly = true;
}
}
if(GetAsyncKeyState(VK_NUMPAD2)<0){//pickup(just was testing dont mind the name)
if(pickup){
PushToConsole("CamMaxPosYOffset",ValZ);
pickup = false;
} else {
ValZ--;
PushToConsole("CamMaxPosYOffset",ValZ);
pickup = true;
}
}

it goes down... and smooth with a slow increase/decrease when you hold the button ... i was going to test this with fly hack too still need y addy for that then :3 but its a simple replacer.


