here is my adminmenu file:
Code:
"Commands"
{
"vipcommands"
{
"Extend Map (time)"
{
"cmd" "sm_extend_time #1"
"admin" "sm_admin"
"execute" "server"
"1"
{
"type" "list"
"title" "Extend Current Map:"
"1" "10"
"1." "10 Minutes"
"2" "20"
"2." "20 Minutes"
"3" "30"
"3." "30 Minutes"
}
}
}
}
here is the error message I get in the logs:
L 07/27/2015 - 03:05
7: [SM] Exception reported: Invalid data pack handle 0 (error 4)
L 07/27/2015 - 03:05
7: [SM] Blaming plugin: adminmenu.smx
L 07/27/2015 - 03:05
7: [SM] Call stack trace:
L 07/27/2015 - 03:05
7: [SM] [0] ResetPack
L 07/27/2015 - 03:05
7: [SM] [1] Line 254, D:\builds\build-sourcemod-msvc12\windows-1.8\build\plugins\adminmenu/dynamicmenu.sp::BuildDynamicMenu()
L 07/27/2015 - 03:05
7: [SM] [2] Line 109, D:\builds\build-sourcemod-msvc12\windows-1.8\build\plugins\adminmenu.sp::OnAllPluginsL oaded()
L 07/27/2015 - 03:06:16: [SM] Exception reported: Plugin not runnable
L 07/27/2015 - 03:06:16: [SM] Call stack trace:
AS soon as I add any line of code in teh custom admin menu, I get that error. if I take it off, everything works fine.