13.07.2013, 17:50
Hi,
Customize it how you want 
And I think that the problem is in the "string" .. You use the string name and string to text ..
pawn Код:
if(text[0] == '!')
{
new name[24], string[256];
GetPlayerName(playerid, name, 24);
format(string, sizeof(string), "[Team Chat]%s: %s", name, text[1]);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(team[i] == team[playerid])
SendClientMessage(i, GetPlayerColor(playerid), string);
}
}
return 0;
}

And I think that the problem is in the "string" .. You use the string name and string to text ..
