Messages only for Administrators
#4

pawn Code:
public SendMessageToAdmins(color, string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && IsPlayerAdmin(i))
        {
            SendClientMessage(i, color, string);
        }
    }
    return 1;
}
Here you go.

EDIT: Too late
Reply


Messages In This Thread
Messages only for Administrators - by Kingunit - 10.08.2011, 21:14
Re: Messages only for Administrators - by Sascha - 10.08.2011, 21:17
Re: Messages only for Administrators - by wouter0100 - 10.08.2011, 21:17
Re : Messages only for Administrators - by Soumi - 10.08.2011, 21:18
[No subject] - by Kingunit - 10.08.2011, 21:19
Re: Messages only for Administrators - by Laronic - 11.08.2011, 01:51
Re: Messages only for Administrators - by Kush - 11.08.2011, 01:58
Re: Messages only for Administrators - by Kingunit - 11.08.2011, 02:20

Forum Jump:


Users browsing this thread: 1 Guest(s)