13.06.2011, 19:46
pawn Код:
public OnPlayerText(playerid, text[])
{
if(TextTest == 1)
{
return 1;
}
else
{
new string[512];
format(string, sizeof(string), "%s [%i]: {FFFFFF}%s", GetName(playerid), playerid,text[0]);
SendClientMessageToAll(GetPlayerColor(playerid),string);
}
return 0;
}