sending messages to admins
#3

pawn Код:
stock SendMessageToAdmins(color, const string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerAdmin(i)) //Currently set for RCON Admins. Change to whatever variable you are using, AccInfo[playerid][Level] > 0 etc. NOTE: The above post is incorrect!! It should be > 0 not > 1.
        {
            SendClientMessage(i, color, string);
            }
        }    
            return 1;
}
Reply


Messages In This Thread
sending messages to admins - by thefatshizms - 09.07.2012, 11:10
Re: sending messages to admins - by JaKe Elite - 09.07.2012, 11:16
Re: sending messages to admins - by clarencecuzz - 09.07.2012, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)