Dialog help, It's showing only 1 song.
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
You show the dialog in the loop so it will only show the first song and then you return a value which stops the loop.
pawn Код:
new string[150];
for (new i; i != sizeof (MusicInfo); ++i) format(string, sizeof (string), "%s%i) %s\n", string, i + 1, MusicInfo[i][SongName]);
ShowPlayerDialog(playerid, 7, DIALOG_STYLE_LIST, "Music Player", string, "Play", "Cancel");
Thanks man will test it now, It works man but how can I make it stop at like 15 then say next dialog? with number 16?
Reply


Messages In This Thread
Dialog help, It's showing only 1 song. - by jueix - 17.06.2014, 21:38
Re: Dialog help, It's showing only 1 song. - by Konstantinos - 17.06.2014, 21:43
Re: Dialog help, It's showing only 1 song. - by jueix - 17.06.2014, 21:51
Re: Dialog help, It's showing only 1 song. - by Threshold - 18.06.2014, 02:49

Forum Jump:


Users browsing this thread: 2 Guest(s)