27.01.2010, 12:51
you have a little bug
try with this one
Код:
if(text[0] == '!' && text[1] != 0)
{
format( string, 128, "[Team] %s: %s", pInfo[playerid][name], text[1] );
for(new i = 0; i < MAX_PLAYERS; i++ )
{
if( IsPlayerConnected(i) && gTeam[i] == gTeam[playerid] )
SendClientMessage( i, teamchat, string );
}
return 0;
}

