AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Clcmd, how to do a key (https://forums.alliedmods.net/showthread.php?t=233908)

caked 01-21-2014 20:42

Clcmd, how to do a key
 
register_clcmd( "say /menu", "Menu" );

I want it when I press j the menu pops up. Jut the command for the press thing.

YamiKaitou 01-21-2014 21:19

Re: Clcmd, how to do a key
 
You cannot detect the key, only the action bound to the key

caked 01-21-2014 21:22

Re: Clcmd, how to do a key
 
I want to replace the team change wen pressing m so I can put my main menu for my mod.

YamiKaitou 01-21-2014 21:45

Re: Clcmd, how to do a key
 
So hook chooseteam and display your menu and block the other one. Search around for other threads about the same thing

caked 01-21-2014 22:30

Re: Clcmd, how to do a key
 
If I block the chooseteam than put my one it wont open up cause the other got blocked.


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

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