Hey, I would like to block the status in the console but it doesn't work. Maybe someone knows why :)
Код:
#include <amxmodx>
#include <reapi>
public plugin_init()
{
register_plugin("Status Blocker", "1.0", "jacking")
RegisterHookChain(RH_ExecuteServerStringCmd, "ExecuteServerStringCmd", 0);
}
public ExecuteServerStringCmd(const szCommand[], cmd_source_t:cmdSrc, id)
{
if(equali(szCommand, "status"))
{
console_print(id, "Unknown command: %s", szCommand);
return HC_SUPERCEDE;
}
return HC_CONTINUE;
}