HotKeys ON/OFF

Posts 1–12 of 12 · Page 1 of 1
HotKeys ON/OFF
Hello, i need help with hotkeys on off....
I used this way
If click hotkey hack=true
else
If click hotkey hack = false
(it's a example)
But the hack is always active...
So i tried add a pause after hack = false (of 200)
But the hack is always inactive...
So any suggestion?
U have to set the value to default too lol
Not only hack = false;
if(hack ==false)
WHAT HAPPENS IF SO
Quote Originally Posted by A$IAN View Post
U have to set the value to default too lol
Not only hack = false;
if(hack ==false)
WHAT HAPPENS IF SO
What he said
Code:
if (GetAsyncKeyState(VK_SOMETHING))
    hack = hack;
Quote Originally Posted by giniyat202 View Post
Code:
if (GetAsyncKeyState(VK_SOMETHING))
    hack = hack;
should not that be like this:

Code:
if (GetAsyncKeyState(VK_SOMETHING)) { hack = hack; Beep(512, 120); }
Quote Originally Posted by frenci8 View Post
should not that be like this:

Code:
if (GetAsyncKeyState(VK_SOMETHING)) { hack = hack; Beep(512, 120); }
here's a better one
Code:
if (GetAsyncKeyState(VK_SOMETHING))
{
    hack = !hack;
    Beep(512, 120+100*hack); //longer Beep when on
}
Quote Originally Posted by giniyat202 View Post
here's a better one
Code:
if (GetAsyncKeyState(VK_SOMETHING))
{
    hack = !hack;
    Beep(512, 120+100*hack); //longer Beep when on
}
i give up :P
Code:
if (GetAsyncKeyState(BUTTON) & 1)
{
	function = !function;
	if (function)
		Beep(512,100);
	else
		Beep(300,100);
}
If you want to get the original values, create a DWORD array and a float-Array.
The float array has got 2 dimensions, the DWORD array 1.
Put the offsets into the DWORD array.
The first dimension of the float array is the number of the offset, the second is the weapon ID.
Save the values in for loops into the float array.
If the hack is false, just backup the values.
if(GetAsyncKeyState(VK_F5)|| GetAsyncKeyState(VK_F5) &1) {onehit= true;}

this is for hotkey f5
this is for hack one hit :P

If you want it to beep;
if(GetAsyncKeyState(VK_F5) || GetAsyncKeyState(VK_F5) &1) { onehit = true; Beep(512, 100); }
Quote Originally Posted by [[SeXergy]] View Post
if(GetAsyncKeyState(VK_F5)|| GetAsyncKeyState(VK_F5) &1) {onehit= true;}

this is for hotkey f5
this is for hack one hit :P

If you want it to beep;
if(GetAsyncKeyState(VK_F5) || GetAsyncKeyState(VK_F5) &1) { onehit = true; Beep(512, 100); }
I knew this, but i need also off, i tried else = same code but with false
if(GetAsyncKeyState(VK_F6)|| GetAsyncKeyState(VK_F6) &1) {onehit= false;}

hotkey f5 to put on
hotkey f6 to turn off
Quote Originally Posted by [[SeXergy]] View Post
if(GetAsyncKeyState(VK_F6)|| GetAsyncKeyState(VK_F6) &1) {onehit= false;}

hotkey f5 to put on
hotkey f6 to turn off
Made the hack is always on (with else)
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us