Pressing a number
Hey guys,
I want to detect when players press the number "5". I know that I can detect when a player's moving or shooting with FM_CmdStart, but there are no really button constants for numbers. Is there any way I can still do that? |
Re: Pressing a number
You can hook "slot5" since that's the default bind, but if player changes it then there's no guarantee.
Why do you want to hook 5? There could be a better solution depending on what you're doing. |
Re: Pressing a number
Quote:
And yeah the probability that someone will hook slot5 on another key is low, so it's a pretty good method, thanks. |
| All times are GMT -4. The time now is 07:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.