#include <sourcemod>
#include <sdktools>
public OnPluginStart()
RegConsoleCmd("say_team", Command_Say);
public Action:Command_Say(client, args)
{
if (!client && !IsPlayerAlive(client))
{
decl String:text[192];
GetCmdArgString(text, sizeof(text));
StripQuotes(text);
new team=GetClientTeam(client);
for (new i = 1; i<=MaxClients; i++)
if (IsClientInGame(i) && IsPlayerAlive(i) && GetClientTeam(i)==team)
PrintToChat(i, "\x01*DEAD*(TEAM) \x03%N\x01: %s",client, text);
}
}