diff --git a/plugins/admin.sma b/plugins/admin.sma index 3a10b80a..74ff1530 100755 --- a/plugins/admin.sma +++ b/plugins/admin.sma @@ -792,7 +792,7 @@ accessUser(id, name[] = "") if (result & 1) { - client_cmd(id, "echo ^"* %L^"", id, "INV_PAS") + console_print(id, "* %L, id, "INV_PAS") } if (result & 2) @@ -803,12 +803,12 @@ accessUser(id, name[] = "") if (result & 4) { - client_cmd(id, "echo ^"* %L^"", id, "PAS_ACC") + console_print(id, "* %L, id, "PAS_ACC") } if (result & 8) { - client_cmd(id, "echo ^"* %L^"", id, "PRIV_SET") + console_print(id, "* %L, id, "PRIV_SET") } return PLUGIN_CONTINUE diff --git a/plugins/pluginmenu.sma b/plugins/pluginmenu.sma index 98992f1f..8f99bf3a 100644 --- a/plugins/pluginmenu.sma +++ b/plugins/pluginmenu.sma @@ -488,7 +488,7 @@ public CvarMenuSelection(id, menu, item) if (ExplicitPlugin[id]==-1) { - client_cmd(id,"amx_plugincvarmenu"); + DisplayPluginMenuDefault(id); } return PLUGIN_HANDLED; } @@ -943,7 +943,7 @@ public CommandMenuCommand(id, level, cid) { // We need to display a list of the plugins, instead of a specific plugin. ExplicitPlugin[id]=-1; - DisplayPluginMenu(id,"Plugin Command Menu:", "PluginMenuSelection","DisplayCmdMenu","GetNumberOfCmdsForPlid"); + DisplayPluginMenuDefault(id); } else { @@ -954,3 +954,8 @@ public CommandMenuCommand(id, level, cid) } return PLUGIN_HANDLED; } + +DisplayPluginMenuDefault(id) +{ + DisplayPluginMenu(id,"Plugin Command Menu:", "PluginMenuSelection","DisplayCmdMenu","GetNumberOfCmdsForPlid"); +} \ No newline at end of file