Raised This Month: $ Target: $400
 0% 

Key Function.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gabriel .
New Member
Join Date: Aug 2011
Old 08-04-2011 , 11:34   Key Function.
Reply With Quote #1

I need a function for keys. It should detect when a player press a key.

I wanna do something like this:

HTML Code:
player_presskey(id,pressedkey)
{
      ... // stuff
}
Does someone of you know this function?

PS! I don't want to bind keys.
Gabriel . is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-04-2011 , 14:35   Re: Key Function.
Reply With Quote #2

It's not possible to know what keys are pressed. You can only detect commands sent to the server.

P.S. Your request does not belong in this section. This section is only for plugin/modules that come with the AMX Mod X package.
__________________
fysiks is offline
Reply



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 03:21.


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