hey guys
does anyone know if I can block a key while hold down? what I need is to block a persons input, but also while he's holding a key like if he's pressing W ingame, I tried something with GetKeyState, like : if (!GetKeyState("w", "P")), but I wanted to know if it's possible while w is pressed down
block a key that's hold down
Re: block a key that's hold down
I do, answer is yes !bigdeal wrote:does anyone know if I can block a key while hold down?
![Trololol! :trollface:](./images/smilies/trollface.png)
Re: block a key that's hold down
oh great great you know how to block it! ok send me that piece of code before i snap you head of you neck I mean tell me than please kind sir kind sir...
Re: block a key that's hold down
Sorry, was a bit drunk when I typed that ...bigdeal wrote:oh great great you know how to block it!ok send me that piece of code before i snap you head of you neckI mean tell me than please kind sir kind sir...
BlockInput might do what you need.