22.05.2012, 06:52
Returning 0 under OnPlayerText gets rid of the default SA-MP chat, and shows the one you scripted only.
pawn Код:
public OnPlayerText(playerid, text[])
{
new textstring[128];
format(textstring, sizeof(textstring), "(%i) %s", playerid, text);
SendPlayerMessageToAll(playerid, textstring);
return 0; // this
}