/helme command
#3

Run a loop through all the players, detect who of them is an admin, and send them the message.
Something like
pawn Код:
function SendAdminMessage(color,const str[])
{
    foreach(Player,i)
    {
        if(PInfo[i][Level] > 0)
        {
            SendClientMessage(i,color,str);
        }
    }
    return 1;
}
Using foreach.
Reply


Messages In This Thread
/helme command - by kbalor - 21.08.2012, 17:55
Re: /helme command - by UnknownGamer - 21.08.2012, 17:56
Re: /helme command - by [MWR]Blood - 21.08.2012, 17:58
Re: /helme command - by kbalor - 21.08.2012, 18:16
Re: /helme command - by kbalor - 21.08.2012, 18:27
Re: /helme command - by Lordzy - 21.08.2012, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)