IP[rep]
#10

This works for all RCON admins

pawn Код:
stock SendAdminMessage(color, string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if (IsPlayerAdmin(i))
            {
                SendClientMessage(i, color, string);
            }
        }
    }
}
If u don't want it for RCON admins only, then use your admin system instead of IsPlayerAdmin, if you don't know how to do it, don't script a roleplay server.
comprende?
Reply


Messages In This Thread
IP[rep] - by Dan_Barocu - 12.03.2012, 14:33
Re: IP[rep] - by Dan_Barocu - 12.03.2012, 15:49
Re: IP[rep] - by milanosie - 12.03.2012, 15:50
Re: IP[rep] - by Dan_Barocu - 12.03.2012, 16:03
Re: IP[rep] - by Bogdan1992 - 12.03.2012, 16:32
Re: IP[rep] - by Dan_Barocu - 12.03.2012, 16:40
Re: IP[rep] - by Bogdan1992 - 12.03.2012, 16:43
Re: IP[rep] - by Dan_Barocu - 12.03.2012, 16:45
Re: IP[rep] - by Dan_Barocu - 12.03.2012, 21:13
Re: IP[rep] - by Mike_Peterson - 12.03.2012, 21:23

Forum Jump:


Users browsing this thread: 4 Guest(s)