This is a controllable fly hack for your hotkey hack!
Add it to your loop.
Code:if(GetAsyncKeyState(VK_SPACE)<0) PushToConsole( "PlayerGravity 800" ); else PushToConsole( "PlayerGravity -800" );
Does anyone know of a code that allows you to fly when you hold space bar and when you let go of the space bar you stop flying? i have a fly hack were you press space bar to fly and press it again to stop flying but its gay! So could someone give me advicce thanks
-Zane
This is a controllable fly hack for your hotkey hack!
Add it to your loop.
Code:if(GetAsyncKeyState(VK_SPACE)<0) PushToConsole( "PlayerGravity 800" ); else PushToConsole( "PlayerGravity -800" );
jdeezy313 (07-27-2010)
This is simple to do. I don't know why you even bothered to help him.
Just another example for someone to c&p.
let people figure it out on their own for a chance.
They will learn more.
[IMG]https://www.find-heavyequipmen*****m/images/small-loading.gif [/IMG]Loading content... Please wait while the rest of this post loads.
That's what he already has. To get it while you hold down spacebar you're probably going to need a varialbe and a while.
i.e aircoding ftw (i gotta go to school so i can't test)
add just below your #includes
Then in your main.Code:int IsFlyingOn = 0;
Like I said, i didn't test this i just wrote it out then. So have funCode:If(GetAsyncKeyState(VK_SPACE)<0){ IsFlyingOn=1; } else{ IsFlyingOn = 0; } If(IsFlyingOn==1){ PushToConsole("PlayerGravity -800"); } else{ PushToConsole("PlayerGravity 800"); }
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
@J-Deezy
Why make it so complicated? Mine works great.
This explains it all:
btw GetAsync is a keydown function. Checks if the key is being pressed/held down.Code:If press spacebar, fly else glide back to ground
tempta43 (07-26-2010)
lol, what a c/p. just learn c++ and come back. and don't c/p, it will ruin your rep, plus it will make everyone hate you.
You don't even need basic C++ for this even
/yea
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
Jason (07-25-2010)
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
J (07-25-2010)