[AJUDA] /admins
#6

pawn Код:
CMD:admins(playerid, params[])
{
    new contaadm[MAX_PLAYERS];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        GetPlayerName(i,NomeP,MAX_PLAYER_NAME);
        if(PlayerInfo[i][pLevel] >= 1)
        {
            contaadm ++;
            if(contaadm[i] == 0) return ShowPlayerDialog(playerid,9,DIALOG_STYLE_MSGBOX,"Admins","{FF0000}Nгo Temos Nenhum Administrador Online!\nCaso Ver Algum Cheaters Denuncie\nEm Nossa Comunidade\nhttp://hunterserver.6te.net","Ok","");
            if(contaadm[i] > 1)
            {
                new string[100];
                strcat(string, "{80FF00}%s [ID:{FFFF00}%d{80FF00}] Level:{FFFF00}%d\n",NomeP,i,PlayerInfo[i][pLevel]);
                strcat(string, "{80FF00}%s [ID:{FFFF00}%d{80FF00}] Level:{FFFF00}%d\n",NomeP,i,PlayerInfo[i][pLevel]);
            }
            if(contaadm[i] == 1)
            {
                new string[100];
                strcat(string, "{80FF00}%s [ID:{FFFF00}%d{80FF00}] Level:{FFFF00}%d",NomeP,i,PlayerInfo[i][pLevel]);
            }
            ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"Admins",string,"OK","");
        }
    }
    return 1;
}
Nгo testei aqui amigo.
Reply


Messages In This Thread
[AJUDA] /admins - by ReDKiiL - 25.09.2011, 05:33
Re: [AJUDA]HELP /admins - by Hardware - 25.09.2011, 05:45
Re: [AJUDA]HELP /admins - by Falcon. - 25.09.2011, 05:49
Respuesta: Re: [AJUDA]HELP /admins - by ReDKiiL - 25.09.2011, 06:14
Re: [AJUDA]HELP /admins - by iBigMan - 25.09.2011, 06:17
Re: [AJUDA]HELP /admins - by Lуs - 25.09.2011, 06:25
Respuesta: Re: [AJUDA]HELP /admins - by ReDKiiL - 25.09.2011, 06:28
Re: [AJUDA]HELP /admins - by Shelby - 25.09.2011, 16:12
Respuesta: [AJUDA] /admins - by ReDKiiL - 25.09.2011, 18:35
Re: [AJUDA] /admins - by davidjnio - 26.09.2011, 14:51

Forum Jump:


Users browsing this thread: 2 Guest(s)