how to clear chat after player connected
#7

pawn Код:
for(new i = 0; i < 100; i++) SendClientMessage(playerid, -1, " ");
The first guy had it right... there is total of 100 lines saved in a player's chat log on-screen at any time. So 200 would be useless and a waste of data. 29 wouldn't clear the entire chat. Using SendClientMessageToAll would clear everyone's chat, which I'm pretty sure he doesn't want.

pawn Код:
public OnPlayerConnect(playerid)
{
    for(new i = 0; i < 100; i++) SendClientMessage(playerid, -1, " ");
    return 1;
}
Simple...
Reply


Messages In This Thread
how to clear chat after player connected - by Kapupc - 11.02.2014, 02:39
Re: how to clear chat after player connected - by Kapupc - 11.02.2014, 03:06
Re: how to clear chat after player connected - by Zex Tan - 11.02.2014, 03:49
Re: how to clear chat after player connected - by Mattakil - 11.02.2014, 04:52
Respuesta: how to clear chat after player connected - by OTACON - 11.02.2014, 05:13
Re: how to clear chat after player connected - by DaniceMcHarley - 11.02.2014, 09:46
Re: how to clear chat after player connected - by Threshold - 11.02.2014, 12:39

Forum Jump:


Users browsing this thread: 4 Guest(s)