[Ajuda] /Admins sу mostra 1.
#4

Quote:
Originally Posted by Luiiiz
Посмотреть сообщение
Eu quero que repita sу a segunda parte. Repetiu a primeira tbm (Nick[ID] Cargo...)
Tenta.

pawn Код:
CMD:admins(playerid)
{
    new ss[1500], iname[30], ContarAdmins;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(Jogador[i][Admin] > 0)
            {
                GetPlayerName(i, iname, 20);
                format(ss, sizeof(ss), "{FFFFFF}Nick(ID)\t{FFFFFF}Cargo\t{FFFFFF}Status\n%s(%d)\t%s\t%s\n", iname, i, CargoAdmin(i), StatusOnline(i));
                strcat(ss, ss);
                ContarAdmins++;
            }
        }
    }
    if(ContarAdmins == 0)
    {
        ShowPlayerDialog(playerid, DIALOG_ADMINS, DIALOG_STYLE_MSGBOX, "Nenhum membro da equipe online", ss, "Fechar", "");  
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_ADMINS, DIALOG_STYLE_TABLIST_HEADERS, "{FFFF00}Administradores {008040}Online", ss, "Fechar", "");
    }    
    return 1;
}
Reply


Messages In This Thread
/Admins sу mostra 1. - by Luiiiz - 01.04.2017, 19:05
Re: /Admins sу mostra 1. - by PetrickSchobaPS - 01.04.2017, 19:34
Re: /Admins sу mostra 1. - by Luiiiz - 01.04.2017, 19:40
Re: /Admins sу mostra 1. - by PetrickSchobaPS - 01.04.2017, 19:41
Re: /Admins sу mostra 1. - by Luiiiz - 01.04.2017, 19:49
Re: /Admins sу mostra 1. - by ViniBorn - 01.04.2017, 20:22
Re: /Admins sу mostra 1. - by Luiiiz - 01.04.2017, 22:06
Re: /Admins sу mostra 1. - by DarkBr - 01.04.2017, 22:23

Forum Jump:


Users browsing this thread: 2 Guest(s)