28.01.2010, 02:31
Got this from TouchX
pawn Код:
stock SendMessageToTeam(team,color,mess[])
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
if(gTeam[i] == team)
{
SendClientMessage(i,color,mess);
}
}
}
}
pawn Код:
SendMessageToTeam(TEAM_NAME,COLOR_LIGHTBLUE,string);

