[Help] Controllable Hotkeys

Posts 1620 of 20 · Page 2 of 2
Quote Originally Posted by Synns View Post
I CAN GO ALL DAY NIG.
YOUR A FAG NIG.

/Nuff Said
Quote Originally Posted by coryster2100 View Post
YOUR A FAG NIG.

/Nuff Said
LOL your gay,
He is pro as
Quote Originally Posted by ac1d_buRn View Post


LOL your gay,
He is pro as
Lol i was JKing
Quote Originally Posted by tahha View Post
i have a completly working but different way
add the vars
Code:
int speeda = 70;
int speedb = 285;
int speedc = 285;
int speedd = 285;
and this is the hotkey part
Code:
//speed
//Left{-1}/Right{+1}/end{Default}
char speeder[255];
if(GetAsyncKeyState(VK_END)<0){
	speeda = 70;
	speedb = 285;
	speedc = 285;
	speedd = 285;
}

if(GetAsyncKeyState(VK_LEFT)<0){
	speeda = speeda - 50;
	speedb = speedb - 50;
	speedc = speedc - 50;
	speedd = speedd - 50;
}

if(GetAsyncKeyState(VK_RIGHT)<0){
	speeda = speeda + 50;
	speedb = speedb + 50;
	speedc = speedc + 50;
	speedd = speedd + 50;
}

sprintf(speeder,"WalkVel %d",speeda);
PTC(speeder);

sprintf(speeder,"FRunVel %d",speedb);
PTC(speeder);

sprintf(speeder,"BRunVel %d",speedc);
PTC(speeder);

sprintf(speeder,"SRunVel %d",speedd);
PTC(speeder);

Sleep(50);
works perfect for what ur after i think

im not sure about the held down part tho
i never tried holding down my hotkeys

but its worth a shot


i also have this for virtual jump if you want that
but if i find out u use my code with out credits i will hurt ur computer jk
but for reals give credits if u use
Simple but awesome.
Code:
			char* pushCmd;
           pushCmd=("PTC HERE NOW");
            PushToConsole( pushCmd );
            if( GetAsyncKeyState( VK_SHIFT ) < 0 ){
            pushCmd=("PTC HERE NOW");
            PushToConsole( pushCmd );
         }else{
            pushCmd=("PTC HERE NOW");
            PushToConsole( pushCmd );
			}
		}

Remember to bool it /yea
Posts 1620 of 20 · Page 2 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?