07.04.2014, 11:23
Quote:
Код:
CMD:radio(playerid, params[]) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "{00FF00}Radio", "[Radio Indonesia]Surabaya\n Boneyaad Radio", "Okay", "Close"); return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) { if(response) { if(listitem == 0) { PlayAudioStreamForPlayer(playerid, "http://49.213.21.119:8000/listen.pls"); } if(listitem == 1) { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "{00FF00}Radio", "Boneyaad Radio\nIbiza Global Radio\nOff radio", "Okay", "Close"); } } return 1; } ![]() |
try to notice,
The first dialog, next word,
, if clicked, the dialogue can move to the second