Raised This Month: $ Target: $400
 0% 

Button's Questions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pattinho
Member
Join Date: Dec 2007
Old 11-02-2011 , 15:23   Button's Questions
Reply With Quote #1

Hey guys,

i have 2 questions.

1. Is it possible to see which button a player is pressing ? when yes how ?
and
2. Is it possible to see which action is behind the button like mouse1 +attack ?
Pattinho is offline
KillLikoe
BANNED
Join Date: Nov 2010
Location: Paraguay
Old 11-02-2011 , 17:04   Re: Button's Questions
Reply With Quote #2

1 - pev(id, pev_button)
2- i dont know
KillLikoe is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-02-2011 , 18:14   Re: Button's Questions
Reply With Quote #3

1. You can't hook buttons, only the command linked to it, like attack, attack2, score, moveleft, moveright, jump. Use IN_ constants to see available buttons.

Take a look at this.

2. No.
__________________

Last edited by Bugsy; 11-02-2011 at 18:15.
Bugsy 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 14:16.


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