Raised This Month: $ Target: $400
 0% 

Open Menu without bind


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-08-2011 , 11:00   Re: Open Menu without bind
Reply With Quote #1

Hook "chooseteam" command ?
You can also hook some of other player's default commands... you can see commands by testing them on your client, just type "bind key" and you'll see the command, if it has a + in front, it's most likely it can't be hooked, but be sure you're testing keys on a DEFAULT layout.
Also have a look into hlsdk_const.inc at IN_* defines, those are actions, like IN_SCORE is when player is holding scoreboard button, you can check those against get_user_button() with &... if(get_user_button(id) & IN_ATTACK) and you should do that in FM_CmdStart.
__________________

Last edited by Hunter-Digital; 08-08-2011 at 11:04.
Hunter-Digital 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 03:27.


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