30.05.2015, 07:32
The server falls do the command /music
Код:
YCMD:music(playerid, params[], help) { new string[4000]; for(new i = 0; i<sizeof(MusicList); i++) { format(string, sizeof(string), "{007FFF}%s {CCCCCC}» {007FFF}Song: {CCCCCC}%s - {007FFF}Singer: {CCCCCC}%s - {007FFF}Time: {CCCCCC}%d. {CCCCCC}«\n", string, MusicList[i][mName], MusicList[i][mSinger], MusicList[i][mTime]); } ShowPlayerDialog(playerid, DIALOG_MUSIC, DIALOG_STYLE_LIST, "~~~ Songs~~~", string, "select", ""); return 1; }