31.07.2014, 10:44
pawn Код:
if(text[0] == '#')
{
GetPlayerName(playerid,sendername,sizeof(sendername));
format(string, sizeof(string), "CHAT:%s (%d): %s", sendername, playerid, text[1]);
SendClientMessage(COLOR_WHITE, string);
printf("%s: %s",sendername, text[1]);
return 0;
}