AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Button's Questions (https://forums.alliedmods.net/showthread.php?t=171160)

Pattinho 11-02-2011 15:23

Button's Questions
 
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 ?

KillLikoe 11-02-2011 17:04

Re: Button's Questions
 
1 - pev(id, pev_button)
2- i dont know

Bugsy 11-02-2011 18:14

Re: Button's Questions
 
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.


All times are GMT -4. The time now is 14:16.

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