dcmd /admins [+REP]
#5

here you are:
pawn Код:
dcmd_admins(playerid, params[])
{
    SendClientMessage(playerid, COLOR_YELLOW, "Online admins:");
    new chose;
    for(new i=0;i<MAX_PLAYERS;i++)
    {
        if(AccountInfo[i][aLevel] > 0)
        {
            new name[60], string[100];
            GetPlayerName(i, name, 60);
            format(string, 100, "%s[%i] Level: %i", name, i, AccountInfo[i][aLevel]);
            SendClientMessage(playerid, COLOR_WHITE, string);
            chose = 1;
        }
    }
    if(chose == 0)
    {
        SendClientMessage(playerid, COLOR_WHITE, "No administrators online!");
    }
    return 1;
    #pragma unused params
}
Reply


Messages In This Thread
dcmd /admins [+REP] - by James Coral - 24.01.2012, 13:44
Re: dcmd /admins [+REP] - by [HK]Ryder[AN] - 24.01.2012, 13:48
Re: dcmd /admins [+REP] - by James Coral - 24.01.2012, 13:50
Re: dcmd /admins [+REP] - by KingHual - 24.01.2012, 13:53
Re: dcmd /admins [+REP] - by MAVERICKS - 24.01.2012, 13:59
Re: dcmd /admins [+REP] - by [HK]Ryder[AN] - 24.01.2012, 14:05
Re: dcmd /admins [+REP] - by NeonPotatoz - 26.02.2012, 01:23
Re: dcmd /admins [+REP] - by KingHual - 26.02.2012, 08:45

Forum Jump:


Users browsing this thread: 1 Guest(s)