20.01.2010, 11:05
Код:
static gTeam[MAX_PLAYERS]; new gPlayerClass[MAX_PLAYERS];
Код:
public OnPlayerText(playerid, text[])
{
if(text[0] == '!')
{
new string[256];
new pName[24];
GetPlayerName(playerid,pName,sizeof(pName));
format(string, sizeof(string), "Gang Chat: %s: %s", pName, text[1]);
SendClientMessage(gTeam[playerid],COLOR_YELLOW, string);
}
return 1;
}

