Raised This Month: $12 Target: $400
 3% 

[REQ*] Get Key Button


  
 
 
Thread Tools Display Modes
Author Message
SAMURAI16
BANNED
Join Date: Sep 2006
Old 02-18-2007 , 08:05   [REQ*] Get Key Button
#1

I want on next amxx version to be implemented a new function or some stuff for posibility to get user key button.
For example with fakemeta:
Code:
if ( pev(id, pev_button) & IN_KEY_A )
Or IN_KEY_F6, IN_KEY_O etc, all buttons.


Hope you are understand.
Thanks.
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 02-18-2007 , 08:08   Re: [REQ*] Get Key Button
#2

That is impossible
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 02-18-2007 , 09:50   Re: [REQ*] Get Key Button
#3

FYI, button pev isn't able to hold a bit sum of all pressed keyboard keys, here is stored a bit sum of all activated corresponding special +/- commands like attack, jump, etc.
VEN is offline
BAILOPAN
Join Date: Jan 2004
Old 02-18-2007 , 10:25   Re: [REQ*] Get Key Button
#4

These buttons are predefined by the Half-Life engine... this is a really dumb request. Why would the game keep track of all sorts of keys it doesn't use or might be different on each system? There's a reason they're by use and not by scan code.
__________________
egg
BAILOPAN 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 08:39.


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