[HELP] Coding correct hotkeys (Crossfire)

Posts 115 of 17 · Page 1 of 2
[HELP] Coding correct hotkeys (Crossfire)
Well when I made my hack they were auto on and I had trouble with the hotkeys when testing so I didn't implement them into my first hack.

If anyone can show/teach/tell me how to add hotkeys correctly It would be greatly appreciated thanks.

Bye

-Nubzgetkillz
if (GetASyncKeyState(Keys::myHotKey))
{
// activate whatever.
}
Quote Originally Posted by freedompeace View Post
if (GetASyncKeyState(Keys::myHotKey))
{
// activate whatever.
}
Or just

(GetAsyncKeyState(VK_Key))
Quote Originally Posted by Auxilium View Post


Or just

(GetAsyncKeyState(VK_Key))
VK_KEY does not have all possible key listings.
Quote Originally Posted by freedompeace View Post
VK_KEY does not have all possible key listings.
MSDN for keys without a VK /
Thanks for helping :]

so if I were to use that in my next hack void how would i implement it into my hack?
Quote Originally Posted by Nubzgetkillz View Post
Thanks for helping :]

so if I were to use that in my next hack void how would i implement it into my hack?
What do you mean? ._.
Like for here low level keyboard hook.
I haven't test your method yet though.
Void = Fast & zu pro :\ nyaa~
but still strange that GetAsyncKeyState doesnt operate that well, even my
old laptop works and even the school pc from8 years ago...
[php]
if (GetAsyncKeystate(VK_Insert)<0)
{
}

if (GetAsyncKeystate(VK_Insert)&1)
{
}
[/php]
or not vk_keys
[php]
if (GetAsyncKeystate("t")<0)
{
}


if (GetAsyncKeystate("t")&1)
{
}
[/php]
screw vk only :3 or it is 't' < pointer val.
Am I the only one who uses VkKeyScan() to get the virtual key code of a character? |:
Quote Originally Posted by Void View Post
Am I the only one who uses VkKeyScan() to get the virtual key code of a character? |:
Nope, I've used it (albeit in Visual Basic) It's pretty handy.

EDIT: How come you're not GH anymore Void?
Quote Originally Posted by Void View Post
Am I the only one who uses VkKeyScan() to get the virtual key code of a character? |:
lies.. that .dll i posted a few weeks ago, i was using it there =D
why use it if this works too :3 besides whats longer some char u write as a sendkey typ or the above one ;D
Posts 115 of 17 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?