help please
#3

pawn Код:
CMD:admins(playerid,params[])
{
    new Count = 0;
    new string[100], n[MAX_PLAYER_NAME];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PlayerInfo[i][Level] > 0)
        {
            GetPlayerName(i,n,sizeof(n));
            format(string,sizeof(string),"Level %d: %s (ID: %d) - %s", PlayerInfo[i][Level], n, i, GetRankFromLevel(i));
            ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "Online Admins...", string, "ok", "");
            Count++;
        }
    }
    if(Count == 0)
    {
            ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX,"Online Admins...", "There Are No Administrators Online.", "ok", "");
    }
    return 1;
}
Reply


Messages In This Thread
help please - by CBCandyBoy - 24.01.2013, 13:58
Re: help please - by Roach_ - 24.01.2013, 20:18
Re: help please - by DaRk_RaiN - 24.01.2013, 20:24
Re: help please - by Roach_ - 24.01.2013, 20:28
Re: help please - by DaRk_RaiN - 24.01.2013, 20:30
Re: help please - by Roach_ - 24.01.2013, 20:31
Re: help please - by DaRk_RaiN - 24.01.2013, 20:36

Forum Jump:


Users browsing this thread: 1 Guest(s)