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

Need help with Custom admin menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mrdiega
Member
Join Date: Dec 2020
Old 05-17-2021 , 05:24   Need help with Custom admin menu
Reply With Quote #1

Hello everyone. I need to add another category to the existing category (SuperAdmin) and add items to it.
Please tell me how to do this in the adminmenu_custom.txt?

Desired structure:
Code:
SuperAdmin -> Custom Votes -> | -> Vote For Round 1
                              | -> Vote For Round 2
                              | -> Vote For Round 3
                              | -> etc.

I tried it like this
Code:
"Commands"
{		
	"SuperAdmin"
        {
	       "admin" "sm_burn"
               "Custom Votes"
               {		
		      "Deagle"
		      {   
			     "admin"     "sm_burn"
			     "cmd"       "sm_vote Deagle_round Default SlowMo"	
			     "execute"   "player"			
		      }
		      "Scouts"
		      {     
			     "admin"     "sm_burn"
			     "cmd"       "sm_vote Scouts Default NoZoom"	
			     "execute"   "player"			
		      }
               }
        }		
}
In this case, the item "Custom Votes" appears, but when I click on it nothing happens.

I read the documentation on the wiki but didn't find my case there
https://wiki.alliedmods.net/Custom_A...enu_(SourceMod)

Last edited by mrdiega; 05-17-2021 at 08:51.
mrdiega 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 23:39.


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