Show report only for admin
#2

You'll need to make a "SendClientMessageToAdmins" stock. It's not hard at all, all you need to do is copy the "SendClientMessageToAll" functions, and use the admin variables. (EG: below)

Код:
stock SendMessageToAdmins(string)
{
    for(new i = 0; i != MAX_PLAYERS; i++)
    {
        if(playerData[i][adminLevel] > 0)
        {
            SendClientMessage(i, 0xCC000000, string);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Show report only for admin - by Jhony_Blaze - 13.12.2014, 18:44
Re: Show report only for admin - by MD5 - 13.12.2014, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)