Raised This Month: $ Target: $400
 0% 

Custom Admin Menu (CS:GO) -> Group Maps


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
W0rm
Junior Member
Join Date: May 2007
Old 08-10-2017 , 21:22   Custom Admin Menu (CS:GO) -> Group Maps
Reply With Quote #1

Hello Guys, I tried to make a custom menu for Sourcemod which groups maps togheter.

So we got:

PlayerCommands
ServerCommands
VotingCommands

I want either in "ServerCommands -> Maps" or an extra cat. called "Maps".

In there I can select "Aim" "AWP" "Knife".

So if I press "Aim" it should list me all available "aim_maps" that I specified in an extra file. (Those maps are from workshop, filled in with single maps, not a collection)

The first problem that I got is that under the "VotingCommands" is "maps". But I want the "maps" to be "Maps".

Second and biggest problem is that I can go to "Maps" where it shows me the other menu items. But when I press on "Aim" now, the sound goes off but nothing happens.

This is what I've got so far:

Code:
"Commands"
{
	"Maps"
	{
		"Aim"
		{
			"cmd"		"sm_map"
			"admin"		"sm_map"
			"execute"	"server"
			"1"
			{
				"type"		"mapcycle"
				"path"		"/cfg/cfg/aimmaps.txt"
			}
		}	
}
W0rm
W0rm is offline
 



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 14:22.


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