[Pedido] /admins em dialog
#5

pawn Код:
stock AdminLevel(playerid)
{  
    new danniel[20];
    if(PlayerDados[playerid][Helper] == true) danniel = "[Ajudante]";
    if(PlayerDados[playerid][Admin] == 1) danniel = "[Colaborador]";
    if(PlayerDados[playerid][Admin] == 2) danniel = "[Moderador]";
    if(PlayerDados[playerid][Admin] == 3) danniel = "[Coordenador]";
    if(PlayerDados[playerid][Admin] == 4) danniel = "[Sub-Dono]";
    if(PlayerDados[playerid][Admin] == 5) danniel = "[Dono]";
    return 1;
}

CMD:admins(playerid)
{
    new string[128];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PlayerDados[i][Admin] > 0)
        {
                strcat(string," %s - %s", pName(playerid), AdminLevel);
                ShowPlayerDialog(playerid, ADMINS, DIALOG_STYLE_MSGBOX, "Administradores", stg, "Fechar", "" );
        }
    }
    return 1;
}
Reply


Messages In This Thread
/admins em dialog - by Baraka - 20.06.2014, 22:22
Re: /admins em dialog - by Baraka - 21.06.2014, 13:15
Re: /admins em dialog - by Kirikage - 21.06.2014, 13:21
Re: /admins em dialog - by Alwe - 21.06.2014, 14:04
Re: /admins em dialog - by DannielCooper - 21.06.2014, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)