Raised This Month: $ Target: $400
 0% 

open the /menu commands with "M"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 06-05-2021 , 11:07   Re: open the /menu commands with "M"
Reply With Quote #1

Quote:
Originally Posted by shaleval1 View Post
Ey, guys.

My server has /menu for server's menu with commands, stats and such things.

Is it possible to make the button "M" opens the /menu on my server? For example, if someone presses M it opens the /menu instead of typing it, possible?
Just add this command to the plugin !!

PHP Code:
register_clcmd("chooseteam",    "Menu function"
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
shaleval1
Junior Member
Join Date: May 2021
Old 06-05-2021 , 13:52   Re: open the /menu commands with "M"
Reply With Quote #2

Quote:
Originally Posted by Supremache View Post
Just add this command to the plugin !!

PHP Code:
register_clcmd("chooseteam",    "Menu function"
cant get it to work, can you help me adding it here?

https://forums.alliedmods.net/showthread.php?t=284324
shaleval1 is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 06-05-2021 , 14:01   Re: open the /menu commands with "M"
Reply With Quote #3

Quote:
Originally Posted by shaleval1 View Post
cant get it to work, can you help me adding it here?

https://forums.alliedmods.net/showthread.php?t=284324
add this line to public plugin_init() function
PHP Code:
register_clcmd("chooseteam""cmdMenu"
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
shaleval1
Junior Member
Join Date: May 2021
Old 06-05-2021 , 14:14   Re: open the /menu commands with "M"
Reply With Quote #4

Quote:
Originally Posted by Supremache View Post
add this line to public plugin_init() function
PHP Code:
register_clcmd("chooseteam""cmdMenu"
https://i.imgur.com/ZxozmsP.png
Like that? Still doesn't work ;( I'm the worst with plugins xd
shaleval1 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 19:52.


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