vb.net - Key detection does not work while in-game -
i making cheat, can used in game. have problem. using detect when did user press hotkey:
private declare function getasynckeystate lib "user32" (byval vkey integer) short
in combination with:
if (getasynckeystate(convert.toint32(bind)))
it works while in windows, turns out when start game, not detect key presses @ all.
how fix that?
Comments
Post a Comment