09.04.2012, 14:18
Help to make with a dialog box
OK - play music
Close - stop music
public OnPlayerSpawn(playerid)
OK - play music
Close - stop music
public OnPlayerSpawn(playerid)
Код:
ShowPlayerDialog(playerid, radio, DIALOG_STYLE_MSGBOX, "Здравствуйте!", "Если Вы хотите,чтобы играла музыка\nНажмите ОК,если нет, ОТМЕНА.", "OK", "Отмена"); PlayAudioStreamForPlayer(playerid,"http://stream.radiohunter.com.br:7070/listen.pls");