Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("test" , "0.1" , "v3x");
register_clcmd("say" , "hook_say");
}
public hook_say(id)
{
new said[201];
read_args(said , 200);
remove_quotes(said);
if(equal(said , "/test"))
{
client_print(id , print_chat , "zomg gabster");
return PLUGIN_HANDLED; // block the text from appearing
}
return PLUGIN_CONTINUE; // let the rest of the text appear normally
}
__________________