SendAdminMessage stock
#1

sorry guys, I need to know how to make a stock to send admin message to all admins online
pawn Код:
enum pInfo
{
    pPass,
    pCash,
    pAdmin,
    pKills,
    pDeaths
}
how?
Reply
#2

pawn Код:
forward SendAdminMessage(color, string[]);
public SendAdminMessage(color, string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(PlayerInfo[i][pAdmin] >= 1)
            {
                SendClientMessage(i, color, string);
            }
        }
    }
}
Reply
#3

removed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)