а для команды !zmenu типа вот этого?
Code
#include <sourcemod>
#pragma semicolon 1
public Plugin:myinfo =
{
name = "Block command",
author = "Beelzebub",
};
public OnPluginStart()
{
AddCommandListener(CommandListener:Command_Block, "sm_zmenu");
}
public Action:Command_Block(client, args)
{
return Plugin_Stop;
}
Добавлено (18.09.2012, 19:25:04)
---------------------------------------------
а добавлять другие путем вот так?
Code
#include <sourcemod>
#pragma semicolon 1
public Plugin:myinfo =
{
name = "Block command",
author = "Beelzebub",
};
public OnPluginStart()
{
AddCommandListener(CommandListener:Command_Block, "sm_zmenu");
AddCommandListener(CommandListener:Command_Block, "sm_lm");
AddCommandListener(CommandListener:Command_Block, "sm_rs");
}
public Action:Command_Block(client, args)
{
return Plugin_Stop;
}