[Ajuda] /Admins em DIALOG
#2

Acabei de fazer e nгo testei, Adapta ele em seu GM e teste:

pawn Код:
CMD:admins(playerid) {
    new String[120], String2[120], NomePlayer[20];
    for(new i; i < MAX_PLAYERS; i++) {
        if(PlayerInfo[i][pAdmin] > 0) {
            if(IsPlayerConnected(i)) {
                GetPlayerName(i, NomePlayer, 20);
                format(String, 120, "Admin: %s estб Online", NomePlayer); strcat(String2, String);
            }
        }
    }
    ShowPlayerDialog(playerid, 80, DIALOG_STYLE_MSGBOX, "Admins", String2, "Fechar", #);
    return true;
}
Reply


Messages In This Thread
/Admins em DIALOG - by RoLiK - 16.01.2014, 11:56
Re: /Admins em DIALOG - by iDreak - 16.01.2014, 12:07
Respuesta: /Admins em DIALOG - by RoLiK - 16.01.2014, 12:27
Re: /Admins em DIALOG - by DannielCooper - 16.01.2014, 12:38

Forum Jump:


Users browsing this thread: 2 Guest(s)