Music at Spawn
#2

Use this:

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case radio://if dialog id = radio
        {//then
            if(response)//if pressed OK
            {
                //playeaudiostream
                PlayAudioStreamForPlayer(playerid,"http://stream.radiohunter.com.br:7070/listen.pls");
            }
            else(!response)//id canceled
            {
                //else nothing
            }
        }
    }
return 1;
}
EDITED: did a mistake :
Reply


Messages In This Thread
Music at Spawn - by [HHT]DRON - 09.04.2012, 14:18
Re: Music at Spawn - by Shabi RoxX - 09.04.2012, 14:22
Re: Music at Spawn - by Dan. - 09.04.2012, 14:24
Re: Music at Spawn - by [HHT]DRON - 09.04.2012, 14:41
Re: Music at Spawn - by WarriorEd22 - 09.04.2012, 14:44
Re: Music at Spawn - by .FuneraL. - 09.04.2012, 14:46
Re: Music at Spawn - by [HHT]DRON - 09.04.2012, 14:47
Re: Music at Spawn - by Shabi RoxX - 09.04.2012, 14:51
Re: Music at Spawn - by [HHT]DRON - 09.04.2012, 14:55
Re: Music at Spawn - by d0nTtoucH - 05.08.2013, 12:15

Forum Jump:


Users browsing this thread: 2 Guest(s)