Clearchat can't work
#3

Show us the ClearChatbox(i) function.
Also, you can easily do it this way:

pawn Код:
CMD:clearchat(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] >= 2)
    {
        for(new i = 0; i < 100; i++)
        SendClientMessageToAll(-1,"");
    }
    return 1;
    format(string, sizeof(string), "AdmCmd: %s has cleared all the chatbox.", GetPlayerNameEx(playerid);
    ABroadCast(COLOR_WHITE, string, 2);
}
Reply


Messages In This Thread
Clearchat can't work - by varuncoolrule - 10.02.2012, 12:54
Re: Clearchat can't work - by Konstantinos - 10.02.2012, 12:57
AW: Clearchat can't work - by Drebin - 10.02.2012, 12:57
Re: Clearchat can't work - by varuncoolrule - 10.02.2012, 12:58
Re: Clearchat can't work - by Vince - 10.02.2012, 12:59
Re: Clearchat can't work - by varuncoolrule - 10.02.2012, 13:01
Re: Clearchat can't work - by Konstantinos - 10.02.2012, 13:03
Re: Clearchat can't work - by varuncoolrule - 10.02.2012, 13:04
Re: Clearchat can't work - by varuncoolrule - 10.02.2012, 13:06
Re: Clearchat can't work - by varuncoolrule - 10.02.2012, 13:08

Forum Jump:


Users browsing this thread: 1 Guest(s)