Merge pull request #88 from xPaw/client-cmd-be-g
Remove some client_cmd
This commit is contained in:
commit
0365676262
|
@ -792,7 +792,7 @@ accessUser(id, name[] = "")
|
||||||
|
|
||||||
if (result & 1)
|
if (result & 1)
|
||||||
{
|
{
|
||||||
client_cmd(id, "echo ^"* %L^"", id, "INV_PAS")
|
console_print(id, "* %L, id, "INV_PAS")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result & 2)
|
if (result & 2)
|
||||||
|
@ -803,12 +803,12 @@ accessUser(id, name[] = "")
|
||||||
|
|
||||||
if (result & 4)
|
if (result & 4)
|
||||||
{
|
{
|
||||||
client_cmd(id, "echo ^"* %L^"", id, "PAS_ACC")
|
console_print(id, "* %L, id, "PAS_ACC")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result & 8)
|
if (result & 8)
|
||||||
{
|
{
|
||||||
client_cmd(id, "echo ^"* %L^"", id, "PRIV_SET")
|
console_print(id, "* %L, id, "PRIV_SET")
|
||||||
}
|
}
|
||||||
|
|
||||||
return PLUGIN_CONTINUE
|
return PLUGIN_CONTINUE
|
||||||
|
|
|
@ -488,7 +488,7 @@ public CvarMenuSelection(id, menu, item)
|
||||||
|
|
||||||
if (ExplicitPlugin[id]==-1)
|
if (ExplicitPlugin[id]==-1)
|
||||||
{
|
{
|
||||||
client_cmd(id,"amx_plugincvarmenu");
|
DisplayPluginMenuDefault(id);
|
||||||
}
|
}
|
||||||
return PLUGIN_HANDLED;
|
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.
|
// We need to display a list of the plugins, instead of a specific plugin.
|
||||||
ExplicitPlugin[id]=-1;
|
ExplicitPlugin[id]=-1;
|
||||||
DisplayPluginMenu(id,"Plugin Command Menu:", "PluginMenuSelection","DisplayCmdMenu","GetNumberOfCmdsForPlid");
|
DisplayPluginMenuDefault(id);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -954,3 +954,8 @@ public CommandMenuCommand(id, level, cid)
|
||||||
}
|
}
|
||||||
return PLUGIN_HANDLED;
|
return PLUGIN_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DisplayPluginMenuDefault(id)
|
||||||
|
{
|
||||||
|
DisplayPluginMenu(id,"Plugin Command Menu:", "PluginMenuSelection","DisplayCmdMenu","GetNumberOfCmdsForPlid");
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user