U have to set the value to default too lol
Not only hack = false;
if(hack ==false)
WHAT HAPPENS IF SO
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
~Donater since 19th October 2011~
~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
Da fuck
[IMG]https://i1114.photobucke*****m/albums/k538/ImminentJM/takari.png[/IMG]
Code:if (GetAsyncKeyState(VK_SOMETHING)) hack = hack;
frenci8 (08-03-2011)
giniyat202 (08-03-2011)
If you want to get the original values, create a DWORD array and a float-Array.Code:if (GetAsyncKeyState(BUTTON) & 1) { function = !function; if (function) Beep(512,100); else Beep(300,100); }
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); }
Last edited by [[SeXergy]]; 08-03-2011 at 08:39 AM.
if(GetAsyncKeyState(VK_F6)|| GetAsyncKeyState(VK_F6) &1) {onehit= false;}
hotkey f5 to put on
hotkey f6 to turn off