[HELP] It doesn't show the title
#1

It doesn't show the title:

Anyone, plese, can help me??


pawn Код:
if(strcmp(cmdtext, "/mids", true) == 0)
        {
        new music[800];// think latter: MAX_MUSICS * 40
        new mid = 0;
       
        LoadMusics();
        loop_ver:
        while(mid < MAX_MUSICS && (strlen(music) < sizeof(music)))
            {
           
            if(MusicInfo[mid][mDefinida] == false)
                {
                mid++;
                goto loop_ver;
                }
           
            LoadMusic(mid);
            new mus1[50];
            format(mus1, sizeof(mus1),"%d- %s\n", mid, MusicInfo[mid][mTitulo]);
            format(music, sizeof(music), "%s%s", music,mus1);
            //strins(music, mus1, strlen(music));
           
            mid++;
            }
           
        SendClientMessage(playerid, -1, "Informaзхes da Biblioteca de Musicas:");
        ShowPlayerDialog(playerid, DIALOG_INF_Lis, DIALOG_STYLE_LIST, "MusicasId", music, "Informacoes", "Fechar");
        return 1;
        }


The result is:


Reply
#2

Well, the title is "musicasid", most probably you have misunderstanding with another thing. but i guess i got what you mean ... are you talking about that function "MusicInfo[mid][mTitulo]" right?

If yes, the problem is there. post here the code.
Reply
#3

Tanks.... i check it on the Saving Callback, and i solved...

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)