Help with Some Admin Bugs.
#8

Done, use this:
pawn Код:
CMD:admins( playerid, params[ ] )
{
    new
        count
    ;
    SendClientMessage( playerid, COLOR_YELLOW, "[ ! ] List of Online Administrators:" );
    for( new i = 0; i < MAX_PLAYERS; i++ )
    {
        if( !IsPlayerConnected( i ) ) continue;
        if( pInfo[i][pAdminlevel] > 99999999999999999999999999 )
        {
            new
                temp[ 32 ],
                name_[ MAX_PLAYER_NAME ]
            ;
            GetPlayerName( i, name_, MAX_PLAYER_NAME );
            format( temp, sizeof( temp ), "<%d> %s((Admin Level: %d))", i, name_, pInfo[ i ][ pAdminLevel ] );
            SendClientMessage( playerid, 0xFF0000FF, temp );
            count++;
        }
    }
    if(count == 0)
    {
        SendClientMessage( playerid, COLOR_RED1, "- No Admins Currently Online." );
        SendClientMessage( playerid, COLOR_YELLOW, "[ ! ] End of List !" );
    }
    else SendClientMessage( playerid, COLOR_YELLOW, "[ ! ] End of List !" );
    return 1;
}
Reply


Messages In This Thread
Help with Some Admin Bugs. - by MAFIAWARS - 22.09.2013, 12:01
Re: Help with Some Admin Bugs. - by DanishHaq - 22.09.2013, 12:04
Re: Help with Some Admin Bugs. - by MAFIAWARS - 22.09.2013, 12:27
Re: Help with Some Admin Bugs. - by xganyx - 22.09.2013, 12:29
Re: Help with Some Admin Bugs. - by JimmyCh - 22.09.2013, 12:29
Re: Help with Some Admin Bugs. - by MAFIAWARS - 22.09.2013, 12:30
Re: Help with Some Admin Bugs. - by MAFIAWARS - 22.09.2013, 12:32
Re: Help with Some Admin Bugs. - by JimmyCh - 22.09.2013, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)