Arrowhow to make virtual jump

Posts 112 of 12 · Page 1 of 1
(Help me)How do i make virtual jump HELLO! 45 min no reply!?
like i have the ptc commands and know where to put them but like how do i make the virtual jump up start on ctrl or crouch or what ever hot key?

any help will be appriciated i will thank + rep

oh and how do i make my hak less laggy
It depends if you are using the camxoffset(I think that's what it's called) or the duckoffset ptc (once again, I think that's what it's called).

The cam offset changes the camm offset when you call it, so you would need to use
Code:
if (GetAsyncKeyState(VK_CONTROL)!=0) {
PushToConsole(...);
}
(You might have to tinker with that a little)

If you use the duck offset then once you call it, it should change it so that when ever you duck(or crouch) your cam is offset by that many pixels.

Sorry for the bad explanation. If anyone else wants to elaborate, that would be great.
less lag= add a removers feature

here is a sample code for ctrl (will make you fly) you can change the ptc

if( GetAsyncKeyState( VK_CONTROL ) < 0 )
{

this->PushToConsole( "PlayerGravity 800" );
}else{
this->PushToConsole( "PlayerGravity -800" );
}
Quote Originally Posted by zmansquared View Post
less lag= add a removers feature

here is a sample code for ctrl (will make you fly) you can change the ptc

if( GetAsyncKeyState( VK_CONTROL ) < 0 )
{

this->PushToConsole( "PlayerGravity 800" );
}else{
this->PushToConsole( "PlayerGravity -800" );
}
thank you if i release this hack ur deffinatly geting credits and i thanked + rep
naw i knew like the hotkey comand just not how to do the if than statement im still noob coder but learning mostly ptc stuff
case 0://Defualt
this->PushToConsole("CamMaxPosYOffset 200.000000");
this->PushToConsole("DuckDownCamOffSet -13.000000");

case 1://Up in the Air after u hit CNTRL
this->PushToConsole("CamMaxPosYOffset 200.000000");
this->PushToConsole("DuckDownCamOffSet 1000.000000");

case 2://Under the Map after u hit CNTRL
this->PushToConsole("CamMaxPosYOffset -1000.000000");
this->PushToConsole("DuckDownCamOffSet -13.000000");
}

Credits: Gellins V2 BASE
lol i know what went wrong now the default cammaxofset is 200.000000 which is what i was trying to use to make it higher lmfao im a newb
Quote Originally Posted by 420Stoner420 View Post
lol i know what went wrong now the default cammaxofset is 200.000000 which is what i was trying to use to make it higher lmfao im a newb
lol we all make mistakes like me learning how code in c#
hotkey stuff dont worrk for me allways errors... thats where hejsan comes in
Quote Originally Posted by wassup40 View Post
hotkey stuff dont worrk for me allways errors... thats where hejsan comes in
lol i love some hotkey hacks but nah i like menu better more space then keys
XD
^...,^ you didnt even give him all the code. hes needs the "switch"
Posts 112 of 12 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?