Ilyen tagoltsággal (magyarul 0), jó hogy nem jössz rá a hibára.
public OnPlayerText(playerid, text[])
{
new str[200];
new pName[MAX_PLAYER_NAME];
if(text[0] == \'!\')
{
if(gTeam[playerid] == 0)
{
GetPlayerName(playerid,pName,sizeof(pName));
format(str, sizeof(str),\"[TeamChat] %s: %s\", pName, text[1]);
}
for(new i; i < MAX_PLAYERS; i++)
{
if(gTeam[playerid] == 0)
{
SendClientMessage(i,0x00ff09AA, str);
}
}
return 0;
}
return 1;
}