Help please
#4

Ok, Name your Levels yourself.
pawn Код:
CMD:admins(playerid,params[])
{
    new Count, string[128],n[MAX_PLAYER_NAME];
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "__________|Admins|__________");
    foreach(Player, i)
    {
        if(PlayerInfo[i][Level] ==1) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 1 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
        if(PlayerInfo[i][Level] ==2) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 2 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
        if(PlayerInfo[i][Level] ==3) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 3 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
        if(PlayerInfo[i][Level] ==4) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 4 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
        if(PlayerInfo[i][Level] ==5) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 5 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
        if(PlayerInfo[i][Level] ==6) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 6 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
        if(PlayerInfo[i][Level] ==7) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 7 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
        if(PlayerInfo[i][Level] ==8) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 8 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
        if(PlayerInfo[i][Level] ==9) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 9 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
        if(PlayerInfo[i][Level] ==10) {
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"Level 10 : %s",n);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
        }
    }
    if(Count == 0) SendClientMessage(playerid, COLOR_LIGHTBLUE, "No Admins Online");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "____________________________");
    return 1;
}
Reply


Messages In This Thread
Help please - by CBCandyBoy - 10.01.2013, 04:46
Re: Help please - by Avi Raj - 10.01.2013, 05:03
Re: Help please - by CBCandyBoy - 10.01.2013, 05:15
Re: Help please - by Avi Raj - 10.01.2013, 05:18
Re: Help please - by CBCandyBoy - 10.01.2013, 05:19
Re: Help please - by CBCandyBoy - 10.01.2013, 05:21
Re: Help please - by Avi Raj - 10.01.2013, 05:29
Re: Help please - by CBCandyBoy - 10.01.2013, 05:37
Re: Help please - by Avi Raj - 10.01.2013, 05:52
Re: Help please - by CBCandyBoy - 10.01.2013, 05:55

Forum Jump:


Users browsing this thread: 3 Guest(s)