PDA

View Full Version : Problems with a plugin (CSS)


kennyist
01-15-2012, 15:26
Hi,

Im having problems with this plugin http://forums.alliedmods.net/showthread.php?t=72576 . Every time i type the command it says its invalid. Ive tried changing it myself and the same happens, Even the Cvars on this plugin dont work, I add them to my server.cfg but it ignores my options.

Logs when i try to use this:
L 01/15/2012 - 19:49:51: [SM] Displaying call stack trace for plugin "helpmenu.smx":
L 01/15/2012 - 19:49:51: [SM] [0] Line 173, /home/groups/alliedmodders/forums/files/3/7/8/0/7/28600.attach::Help_ShowMainMenu()
L 01/15/2012 - 19:49:51: [SM] [1] Line 165, /home/groups/alliedmodders/forums/files/3/7/8/0/7/28600.attach::Command_HelpMenu()

- Help menu .cfg in case theres an error here:
"Help"
{
"Public commands"
{
"title" "Public commands"
"type" "list"
"items"
{
"say rtv" "!rtv - Have all users vote on the next map"
"say Nominate" "!Nominate - Choose a map for next round"
"say !contact1" "!contact1 - Directly contact Owner"
"say !contact2" "!contact2 - Directly contact main admin"
"say !feedback" "!feedback <text> - Send feedback or report someone to us"
"say !website" "!webssite - Veiw our website"
"say !maprate" "!maprate - Rate the current map"
"say !rank" "!rank - View your rank"
"say !top10" "!top10 - View the top 10 in the stats"
"say !helpmenu" "!helpmenu - This help menu"
}
}
"Radio commands"
{
"title" "Radio commands"
"type" "list"
"items"
{
"!radio" "!radio - Turn radio on/off"
"!request" "!request <song name> - Send a track request to Epic radio"
"!shoutout" "!shoutout <text> - Send a shoutout request to Epic radio"
"!choon" "!choon - Say to "Like" the current song"
"!poon" "!poon - Say to "hate" the current song"
"!dj" "!dj - Say to see who the current dj is"
}
}
"Donating info"
{
"title" "How to donate"
"type" "text"
"items"
{
"" "To donate to our server contact Kennyist by saying"
"" "!contact1"
"" "Each donation (min $5) Gains you admin and other bonuses"
}
}
}



Can anyone see whats up with this plugin.

Bacardi
01-15-2012, 17:08
Why you not post in plugin own thread...
Problem is you added quotation marks (" ") in description. It definitely broke that menu.
So if you have to add those, use backslash front of them \"asd\"

"Help"
{
"Public commands"
{
"title" "Public commands"
"type" "list"
"items"
{
"say rtv" "!rtv - Have all users vote on the next map"
"say Nominate" "!Nominate - Choose a map for next round"
"say !contact1" "!contact1 - Directly contact Owner"
"say !contact2" "!contact2 - Directly contact main admin"
"say !feedback" "!feedback <text> - Send feedback or report someone to us"
"say !website" "!webssite - Veiw our website"
"say !maprate" "!maprate - Rate the current map"
"say !rank" "!rank - View your rank"
"say !top10" "!top10 - View the top 10 in the stats"
"say !helpmenu" "!helpmenu - This help menu"
}
}
"Radio commands"
{
"title" "Radio commands"
"type" "list"
"items"
{
"!radio" "!radio - Turn radio on/off"
"!request" "!request <song name> - Send a track request to Epic radio"
"!shoutout" "!shoutout <text> - Send a shoutout request to Epic radio"
"!choon" "!choon - Say to \"Like\" the current song"
"!poon" "!poon - Say to \"hate\" the current song"
"!dj" "!dj - Say to see who the current dj is"
}
}
"Donating info"
{
"title" "How to donate"
"type" "text"
"items"
{
"" "To donate to our server contact Kennyist by saying"
"" "!contact1"
"" "Each donation (min $5) Gains you admin and other bonuses"
}
}
}