Ok, it has been like a long time since I ran a server (2007).. Oldman TFC from Chicago, but it was under Adminmod ... Now just the heck of it, I'm at it again as Oldman TF2.. Sourcemod..
I did some plugins and menus and for the sake of me, I'm at a lost!
I did a little adding to the adminmenu_custom.txt.
It brings up a choice of #4 Set Capping Options but when I select it repats the saying as #1 Set Capping Options, when I hit it, it flashes a few times and exits.
Here is the code, its for swBlockCap.smx In console the commands are to sm_cap_enable and sm_cap_disable.
Any help will be greatly appreciated.
The Old One
Code:
// Custom admin menu commands.
// For more information:
//
// http://wiki.alliedmods.net/Custom_Admin_Menu_%28SourceMod%29
//
// Note: This file must be in Valve KeyValues format (no multiline comments)
//
"Commands"
{
"Capping Option"
{
"Set Capping Options"
{
"cmd" "sm_cap_disable #1 @2"
"admin" "sm_kick"
"execute" "server"
"1"
{
"type" "list"
"method" "name"
"title" "Cap En/Disa"
}
"2"
{
"type" "list"
"1" "sm_cap_disabled"
"1." "Diasble"
"2" "sm_cap_enable"
"2." "Enable"
}
}
}
}