/clearchat command? - 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: /clearchat command? (
/showthread.php?tid=315241)
/clearchat command? -
SampLoverNo123 - 02.02.2012
There are many server advertiser who just come and advertises there server ip, can anyone tell me how some servers have command /clearchat? can anyone script it for me? Please?
Re: /clearchat command? -
[LTU]mindux9[TCS] - 02.02.2012
dcmd_cc(playerid,params[])
{
#pragma unused params
for(new i = 0; i < 50; i++) SendClientMessageToAll(0x00000000," ");
return 1;
}
Re: /clearchat command? -
SampLoverNo123 - 02.02.2012
Thank you
Re: /clearchat command? -
Kiets - 02.02.2012
Use more than 50 times, because player can still see chat if he scrolls up.
Re: /clearchat command? -
SampLoverNo123 - 02.02.2012
What you mean? IF you know, please post your script here, i mean /clearchat script
Re: /clearchat command? -
2KY - 02.02.2012
He means that the players can still view the chat if they use the pageup button on the keyboard.
Fix this by increasing the number.
Re: /clearchat command? -
[MG]Dimi - 02.02.2012
pawn Код:
dcmd_cc(playerid,params[])
{
for(new i = 0; i < 250; i++) SendClientMessageToAll(0x00000000," ");//250 should be enough
return 1;
}
Re: /clearchat command? -
Kiets - 02.02.2012
actually 100 is enough
Re: /clearchat command? -
HuntingMan - 04.11.2013
NIce
Re: /clearchat command? -
HuntingMan - 30.05.2014
But how can i define it?
it said that symbold cmd_cc is never used