OnPlayerText
#2

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
}
Reply


Messages In This Thread
OnPlayerText - by MechaTech - 22.05.2012, 06:49
Re: OnPlayerText - by ReneG - 22.05.2012, 06:52
Re: OnPlayerText - by MechaTech - 22.05.2012, 14:54

Forum Jump:


Users browsing this thread: 2 Guest(s)