Raised This Month: $ Target: $400
 0% 

detecting if a player presses a key


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 05-08-2012 , 12:40   detecting if a player presses a key
Reply With Quote #1

Is there any way we can detect if a player has pressed a key (for example f) without slowhacking?


fyi, just curious: why is that slowhacking? if we can detect if a player has pushed tab or use then why would detecting a random key (eg: f) be slowhacking?

what if we would check first if a key (eg: f) has been binded to something by the player. if he has binded something to that we do not continue with linking a function to it.
but if he hasnt binded something to that key then we continue linking a function to the key (in the plugin only) so that the server never binds something to that key for that player so if he leaves nothing has been changed in his keyboard settings.

would that still be slowhacking?
striker07 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode