26.02.2011, 20:43
(
Последний раз редактировалось Kitten; 24.11.2013 в 05:39.
)
Solved
public OnPlayerText(playerid, text[]) {
new pName[MAX_PLAYER_NAME];
new string[256];
GetPlayerName(playerid, pName, sizeof(pName));
foreach(Player, i)
{
if(gTeam[playerid] == gTeam[i])
{
format(string, sizeof(string),"[TEAM][ID:%d]:%s", playerid, text);
SendPlayerMessageToAll(playerid, string);
}
}
return 0;
}