[Ajuda] Dialog
#8

Quote:
Originally Posted by iCasTiel
Посмотреть сообщение
Nгo cheguei a olhar o cуdigo envolvendo a parte do Rank, mas deve-se usar strcat.

Ex:

pawn Код:
CMD:admins(playerid){
    static i, Nome[MAX_PLAYER_NAME], cStr[40], Aux[128];
    for(i = GetMaxPlayers() - 1; i != -1; --i){
        if (IsPlayerConnectd(i) && IsPlayerAdmin(i)) {
            GetPlayerName(i, Nome, MAX_PLAYER_NAME);
            format(cStr, sizeof cStr, "Administrador: %s", Nome);
            strcat(Aux, cStr);
        }
    }
    ShowPlayerDialog(playerid, -1, DIALOG_STYLE_MSGBOX, "Admins", Aux, "Fechar", "");
    return true;
}
Puts, nem pensei nisso, valeu ae brow, vo tentar dar +REP, ver se consigo kkkkkk...
Reply


Messages In This Thread
Dialog - by Gleisson_. - 23.05.2013, 01:28
Re: Dialog - by TreePuncher - 23.05.2013, 01:49
Re: Dialog - by Gleisson_. - 23.05.2013, 02:00
Re: Dialog - by TreePuncher - 23.05.2013, 02:01
Re: Dialog - by Gleisson_. - 23.05.2013, 02:04
Re: Dialog - by Gii - 23.05.2013, 02:12
Re: Dialog - by TreePuncher - 23.05.2013, 02:29
Re: Dialog - by Gleisson_. - 23.05.2013, 02:37

Forum Jump:


Users browsing this thread: 6 Guest(s)