/admins problem
#2

pawn Код:
CMD:admins(playerid,params[])
{
    new Count = 0, string[50],n[MAX_PLAYER_NAME];
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "__________|Admins|__________");
    foreach(Player, i)
    {
        if(PlayerInfo[i][Level] == 0) continue;
        GetPlayerName(i,n,sizeof(n));
        format(string,sizeof(string),"[ID: %d] %s | Level %d",i,n,PlayerInfo[i][Level]);
        SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
        Count++;
    }
    if(Count == 0) SendClientMessage(playerid, COLOR_LIGHTBLUE, "No Admins Online");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "____________________________");
    return 1;
}
Try this one
Reply


Messages In This Thread
/admins problem - by CBCandyBoy - 26.01.2013, 06:37
Re: /admins problem - by Threshold - 26.01.2013, 06:59
Re: /admins problem - by LocMax - 26.01.2013, 07:15

Forum Jump:


Users browsing this thread: 1 Guest(s)