MessageToAdmins doesn't work[DINI]
#8

Add this

pawn Код:
stock MessageToAllAdmins(const msg[],color = -1)
{

    for(new i; i != MAX_PLAYERS; i++)
        if(IsPlayerConnected(i) && (Account[i][pAdmin] >= 1 || IsPlayerAdmin(i)))
            SendClientMessage(i,color,msg);

    return;
}
replace
pawn Код:
SendClientMessageToAll(COLOR_YELLOW, string);
to
pawn Код:
MessageToAllAdmins(string,COLOR_YELLOW);
and uncomment formats
Reply


Messages In This Thread
MessageToAdmins doesn't work[DINI] - by DanyelKing - 13.03.2013, 22:31
Re: MessageToAdmins doesn't work[DINI] - by Patrick - 13.03.2013, 22:36
Re: MessageToAdmins doesn't work[DINI] - by DanyelKing - 13.03.2013, 22:41
Re: MessageToAdmins doesn't work[DINI] - by Patrick - 13.03.2013, 22:45
Re: MessageToAdmins doesn't work[DINI] - by DanyelKing - 13.03.2013, 22:54
Re: MessageToAdmins doesn't work[DINI] - by Jefff - 14.03.2013, 00:18
Re: MessageToAdmins doesn't work[DINI] - by Ananisiki - 14.03.2013, 00:21
Re: MessageToAdmins doesn't work[DINI] - by Jefff - 14.03.2013, 00:30
Re: MessageToAdmins doesn't work[DINI] - by Ananisiki - 14.03.2013, 00:39
Re: MessageToAdmins doesn't work[DINI] - by Jefff - 14.03.2013, 01:44

Forum Jump:


Users browsing this thread: 1 Guest(s)