/clearchat command?
#1

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?
Reply
#2

dcmd_cc(playerid,params[])
{
#pragma unused params
for(new i = 0; i < 50; i++) SendClientMessageToAll(0x00000000," ");
return 1;
}
Reply
#3

Thank you
Reply
#4

Use more than 50 times, because player can still see chat if he scrolls up.
Reply
#5

What you mean? IF you know, please post your script here, i mean /clearchat script
Reply
#6

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.
Reply
#7

pawn Код:
dcmd_cc(playerid,params[])
{
        for(new i = 0; i < 250; i++) SendClientMessageToAll(0x00000000," ");//250 should be enough
        return 1;
}
Reply
#8

actually 100 is enough
Reply
#9

NIce
Reply
#10

But how can i define it?
it said that symbold cmd_cc is never used
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)