Source code pleas

Posts 1–11 of 11 · Page 1 of 1
Source code pleas
Hi i need the source code for C++

if (GetAsyncKeyState(VK_F2)) this is ON hotkey i need it in ON/OFF pleas help me
if (GetAsyncKeyState(VK_F2)&1) Feature = true;
else
if (GetAsyncKeyState(VK_F2)&1) Feature = false;

idk is this right???????
Quote Originally Posted by MrCFFree View Post
Hi i need the source code for C++

if (GetAsyncKeyState(VK_F2)) this is ON hotkey i need it in ON/OFF pleas help me
u can use
if (GetAsyncKeyState(VK_F2)) = 1
{
"the programm or a chortcut to ur hack"
}
else
{
"the program to turn it of"
}
system("pause")
return 0;

Or something like thifs, im new too , and learning
Quote Originally Posted by Horror View Post
u can use
if (GetAsyncKeyState(VK_F2)) = 1
{
"the programm or a chortcut to ur hack"
}
else
{
"the program to turn it of"
}
system("pause")
return 0;

Or something like thifs, im new too , and learning
Omg no xD

This only enables if you press the hotkey, if you release it, it will be disabled agian xD and what is if (GetAsyncKeyState(VK_F2)) = 1 xD? you try to set a ifstatment to 1 xD?

If you want to know if somting is equal, use == and place it in the if. Don't look if it is 1, becouse it can be diferent. use not 0: != 0.
if (GetAsyncKeyState(VK_F2) != 0) {
hotkey = !hotkey; //true will be false, false will be true
}

Use a Sleep(200); at the end, else you will get hotkey spam.
on off
Code:
bool whatever = false // when the game starts hack will be off
if(GetAsyncKeyState(VK_NUMPAD1));
whatever = true // saying that if you press numpad 1 the hack is on
pushtoconsole("what ever 1");
}else{
whatever == false // saying that if you press numpad 1 agan the hack is off
pushtoconsole("what ever 0");
there you go that pritty much it
Well do you want to turn off/on, or the source code of the hack.
Quote Originally Posted by Victoria View Post
Well do you want to turn off/on, or the source code of the hack.
yes
i need it for 1 hti hack
Well, we don't give us source code away.
Sorry find it by you'r self in CE/Ollydbgr
Quote Originally Posted by Victoria View Post
Well, we don't give us source code away.
Sorry find it by you'r self in CE/Ollydbgr
boa i need not the addy i need the C++ ON/OFF SYSTEM !!!
Make a bool and if the key is pressed and the bool is false, set it to true, else set it to false. If you dont know how to do it, learn C++
@victoria

dont be mean..:P
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?