Okay forget about it.
The hotkeys should go after the while function /gewd
Let me explain it a bit better.
Code:
if(GetAsyncKeyState(VK_F3) || GetAsyncKeyState(VK_NUMPAD0) &1) { myhack = true; Beep(512, 120); }
Code:
if(GetAsyncKeyState(VK_F3)
is the first hotkey that will turn myhack on.
Code:
GetAsyncKeyState(VK_NUMPAD0) &1)
is the second hotkey that will turn myhack on.
myhack is the function name and = true is to make it on. If you type = false you will turn it off , but probably it won't turn off because you need to store the classes.
When you turn it on it will make a sound.