Merge pull request #88 from xPaw/client-cmd-be-g

Remove some client_cmd
This commit is contained in:
Vincent Herbet 2014-07-29 12:15:20 +02:00
commit 0365676262
2 changed files with 10 additions and 5 deletions

View File

@ -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

View File

@ -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");
}