How to add a hotkey

Posts 1–5 of 5 · Page 1 of 1
How to add a hotkey
Hey guy's here's a little tut on how to add a hotkey to your hack
First you want to bool the name of your hotkey/hack
So add a bool in between
Code:
}
While(true)
so it will look like this
Code:
void main()
{
bool chams=false;
while(true)
next you want to add your hotkey
so first add this at the top of your hack
Code:
if(GetAsyncKeyState(Key you want)<0){
then
Code:
if(chams){	
			PushToConsole("SkelModelStencil 0");
				chams = false;
			} else {
				PushToConsole("SkelModelStencil 1");
				chams = true;
Thanks for the contribution, but..could I ask a question?
Regardless, I'm still asking you.

Why'd you post this? Lol.
Quote Originally Posted by shugeevan View Post
Thanks for the contribution, but..could I ask a question?
Regardless, I'm still asking you.

Why'd you post this? Lol.
I Think He Was Bored So He Do This LOL.
Quote Originally Posted by MrSkafighter View Post

I Think He Was Bored So He Do This LOL.
Probably to copy Toxin..
Your "tutorial" also fails.

You also bool'ed in the wrong spot. Bool in the global decelerations ><
Also, Your Key doesnt really help anyone.
You can add a key in 2 ways, either via Virtual Key or Hex.
Well done.

Very good tutorial, understandable and not over written.
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us