Sendmessagetoadmins
#1

Howdy people, i've got a question i got this function:

pawn Код:
stock SendMessageToAdmins(text[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PInfo[i][Level] > 1)
        {
            SendClientMessage(i, blue, text);
        }
    }
}
pawn Код:
SendMessageToAdmins(msg);
I use it for the /a chat but i was wondering, could i also use this for like sending CMDS to the admins like

Код:
Admin Biess has used the command SETLEVEL
Код:
Admin Biess has banned user Test
If someone could make it like that i'd be happy!
Reply


Messages In This Thread
Sendmessagetoadmins - by Biess - 12.12.2012, 10:05
Re: Sendmessagetoadmins - by Threshold - 12.12.2012, 11:09
Re: Sendmessagetoadmins - by David (Sabljak) - 12.12.2012, 11:24
Re: Sendmessagetoadmins - by Threshold - 12.12.2012, 11:26
Re: Sendmessagetoadmins - by Biess - 12.12.2012, 12:14
Re: Sendmessagetoadmins - by Threshold - 12.12.2012, 12:23

Forum Jump:


Users browsing this thread: 3 Guest(s)