SA-MP Forums Archive
A Question - 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)
+--- Thread: A Question (/showthread.php?tid=323259)



A Question - titanak - 05.03.2012

RESOLVED


Re: A Question - T0pAz - 05.03.2012

pawn Код:
PlayAudioStreamForPlayer(playerid, someaudio);
for(new a = 0; a < 30; a++) // You should higher this because players can do /pagesize like mine is default at 30
SendClientMessage(playerid, 0xFFFFFFFF, " ");



Re: A Question - titanak - 05.03.2012

Resolvdz lol


Re: A Question - Shabi RoxX - 05.03.2012

Try this:
pawn Код:
for(new i = 0;i < 30;i++)//30 times , sending message
{
SendClientMessage(playerid, 0xFFFFFFFF, " ");//30 Empty messages to clean whole chat :P
}
I JUST DEFINE in comments.


Re: A Question - T0pAz - 05.03.2012

Quote:
Originally Posted by titanak
Посмотреть сообщение
does this clean all chat or the 1 line only ?
It cleans all chat. There is no other way.