Jump to content
Sign in to follow this  
Ihasaaccount

Disabling a Keys Input?

Recommended Posts

I was wondering if there was a way of disabling specific keys so their input is invalid(Not functioning) and/or result in a different action.

ex. you typically use "W" to walk, but instead nothing happens. but of course I'm not looking to do something like that, I'm looking to block certain keys that hackers use to activate their scripts and what not.

Share this post


Link to post
Share on other sites

I was wondering if there was a way of disabling specific keys so their input is invalid(Not functioning) and/or result in a different action.

ex. you typically use "W" to walk, but instead nothing happens. but of course I'm not looking to do something like that, I'm looking to block certain keys that hackers use to activate their scripts and what not.

I assume you'd be using this to write an anti-cheat for a server, and if you were you'd understand you can't prevent them from using it. You'd have to prevent the software the scripts were ran through. But you could try having the keys pull up the status menu or making them leave the server. Like insert or F6.

Share this post


Link to post
Share on other sites

Well from my understanding I thought it was possible, not to long ago I went searching on where all these skids got their scripts trying to find ways to block it and I read about some anti hack script they have which would block their key they used to inject/run their scripts along with a game freeze, or something similar resulting in it not working.

But if that's not possible server side, I like the idea of having them disconnect too. I'll have to look more into it.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×