05.05.2009, 17:59
Quote:
|
Originally Posted by MoroJr™
pawn Код:
|
Anyways, to do that you should use this code.
pawn Код:
public OnPlayerText(playerid, text[])
{
new pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName,sizeof(pName));
format(string,sizeof(string),"%s[%i]: %s",pName,playerid,text);
printf(string);
// ircSay(EchoConnection, EchoChan,string); ONLY USE THIS IF YOU HAVE AN IRC CHANNEL.
SendClientMessageToAll(COLOR_WHITE,string);
return 0;
}

