AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Menu when pres m (https://forums.alliedmods.net/showthread.php?t=313551)

Dragos 01-13-2019 10:07

Menu when pres m
 
what is the code what for when pres m to show a meniu with what i want to bee in
sma :wink::wink:

asherkin 01-13-2019 10:14

Re: Menu when pres m
 
The server can't hook arbitrary keys - clients need to bind the key to a command themselves (which can be any command).

Dragos 01-13-2019 10:29

Re: Menu when pres m
 
aha open config.cfg and modify bind m "say /menu"??

Spirit_12 01-13-2019 11:57

Re: Menu when pres m
 
Best practice would be to hook the function associated with that key. M is most games is used to switch teams. I would just hook that function and execute the code.


All times are GMT -4. The time now is 07:09.

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