Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("D7 block saytext team attack", "0.0.1", "D i 5 7 i n c T, Johnny got his gun")
register_message(get_user_msgid("SayText"), "message_SayText")
}
// Credits to Johnny got his gun
public message_SayText()
{
if (get_msg_args() > 4)
return PLUGIN_CONTINUE;
static szBuffer[40];
get_msg_arg_string(2, szBuffer, 39)
if (!equali(szBuffer, "#Cstrike_TitlesTXT_Game_teammate_attack"))
return PLUGIN_CONTINUE;
return PLUGIN_HANDLED;
}