SA-MP Forums Archive
[Help] Chat - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Chat (/showthread.php?tid=201577)



[Help] Chat - Extreme Man - 21.12.2010

How can I turn off this chat :




Re: [Help] Chat - Seven. - 21.12.2010

You can't, unless you make a textdraw which will put their messages in the textdraw.


Re: [Help] Chat - akis_tze - 21.12.2010

Make a timer that ClearChatbox every 1 sec...

pawn Код:
public ClearChatbox(playerid, lines)
{
    if (IsPlayerConnected(playerid))
    {
        for(new i=0; i<lines; i++)
        {
            SendClientMessage(playerid, COLOR_GREY, "");
        }
    }
    return 1;
}



Respuesta: [Help] Chat - admantis - 21.12.2010

return 0;


Re: Respuesta: [Help] Chat - Extreme Man - 21.12.2010

Quote:
Originally Posted by admantis
Посмотреть сообщение
return 0;
thanks


Re: [Help] Chat - Seven. - 21.12.2010

Oh i am sorry, I thought you meaned to move the chat, my bad :S


Re: [Help] Chat - XePloiT - 21.12.2010

you mean like this?
pawn Код:
public OnPlayerText(playerid,text[])
{
    return 0;// players can't post...
}