how to clear chat after player connected
#3

Instead of making long codes, like this

Код:
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, " ");
SendClientMessage(playerid, COLOR_BLUE3, "z ");
Change it to this:

pawn Код:
for(new i = 0; i < 100; i ++) SendClientMessage(playerid, -1, " ");
You can remove the SA:MP chat thing when the player has been fully connected, use a timer like a 3 second timer? Afterwards clear the chat and finish.
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: 6 Guest(s)