15.11.2014, 10:14
How to make the name of the songs on new lines:
ON THE TOP
now shows only the last song name.
Код:
new SMusic[28];
for(new i, j = sizeof(Songs); i < j; i++) format(SMusic, sizeof(SMusic), "%s\n", Songs[i][SongName]);
ShowPlayerDialog(playerid, Dialog_Music, DIALOG_STYLE_LIST, "{0056b6}MUSIC PLAYER", SMusic, "Play", "Exit");
Код:
enum SInfo
{
SongName[28],
SongURL[200]
};
new Songs[][SInfo] =
{
{"NameSong", "Link.mp3"},
{"NameSong2", "Link2.mp3"}
};

