achat +rep if you help
#5

Quote:
Originally Posted by Mr.Anonymous
Посмотреть сообщение
I guess it's
SendClientMessage(i, COLOR, string);
Thanks for reminding...just didnt come into my mind..
Use this
pawn Код:
CMD:a(playerid, params[])
{
    new string[128];
    if(isnull(params)) return SendClientMessage(playerid,-1,"USAGE: /a [adminchat]");
        format(string, sizeof(string), "Admin Chat: %s %s", GetName(playerid), params);
        printf("Admin Chat: %s %s", GetName(playerid), string);  // not sure if i need that
        for(new i=0;i<MAX_PLAYERS;i++)
        {
        if(PlayerInfo[i][pAdmin] > 0)
        {
            SendClientMessage(i, -1, string);
        }
        }
    return 1;
}
Reply


Messages In This Thread
achat +rep if you help - by cluckintucker - 05.01.2013, 15:04
Re: achat +rep if you help - by [HK]Ryder[AN] - 05.01.2013, 15:07
Re: achat +rep if you help - by cluckintucker - 05.01.2013, 15:10
Re: achat +rep if you help - by Mr.Anonymous - 05.01.2013, 15:20
Re: achat +rep if you help - by [HK]Ryder[AN] - 05.01.2013, 15:22
Re: achat +rep if you help - by arakuta - 05.01.2013, 15:23
Re: achat +rep if you help - by cluckintucker - 05.01.2013, 15:24
Re: achat +rep if you help - by cluckintucker - 05.01.2013, 15:26
Re: achat +rep if you help - by [HK]Ryder[AN] - 05.01.2013, 15:26
Re: achat +rep if you help - by -=Dar[K]Lord=- - 05.01.2013, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)