string spamming (+rep)
#3

Quote:
Originally Posted by Danijel.
Посмотреть сообщение
pawn Код:
CMD:cc(playerid, params[])
{
    if(PlayerInfo[playerid][Admin] >= 1)
    {
        for(new i; i<100; i++)
        {
            SendClientMessageToAll(-1, "");
        }
        new string[128];
        format(string, sizeof string, "BLRP | Admin %s cleared chat", GetName(playerid));
        SendClientMessageToAll(LIGHTBLUE, string);
    }
    return 1;
}
it should be ABroadCast not SendClientMessageToAll
Reply


Messages In This Thread
string spamming (+rep) - by ChristianIvann09 - 10.04.2014, 13:58
Re: string spamming (+rep) - by Danijel. - 10.04.2014, 14:02
Re: string spamming (+rep) - by ChristianIvann09 - 10.04.2014, 14:08
Re: string spamming (+rep) - by RoboN1X - 10.04.2014, 14:09
Re: string spamming (+rep) - by ChristianIvann09 - 10.04.2014, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)