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

[L4D] Hook Slot Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Luke Penny
Senior Member
Join Date: Jan 2010
Location: Canada
Old 10-16-2010 , 20:04   [L4D] Hook Slot Commands
Reply With Quote #1

I am trying to hook whenever a player presses their 6, 7, 8 keys etc, which by default are bound to the commands "slot6" "slot7" "slot8" and so on. I've tried AddCommandListener, RegConsoleCmd and so on, nothing seems to pick it up. My guess is that it is sent to the server in a different way (such as "use weapon_pistol" etc) but I know that menus use the slot commands, is there any way I can use them?
__________________
Luke Penny 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 18:16.


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