Remove some client_cmd
This commit is contained in:
parent
919af60ca9
commit
c084965cf1
@ -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
|
||||
|
@ -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");
|
||||
}
|
Loading…
Reference in New Issue
Block a user