PlayAudioStreamForPlayer is not working on mine
#1

I have this command & dialog:

PHP код:
CMD:radio(playeridparams[])
{
    
ShowPlayerDialog(playerid123,DIALOG_STYLE_LIST"Trucker's Life - Radio Stations""SkyFM\nBlazin PH Radio\nRadio Off","Select","Close");
    return 
1;

and my Dialog response:
PHP код:
if(dialogid == 15151)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
PlayAudioStreamForPlayer(playerid"http://yp.shoutcast.com/sbin/tunein-station.pls?id=780577");
            }
            if(
listitem == 1)
            {
                
PlayAudioStreamForPlayer(playerid"http://yp.shoutcast.com/sbin/tunein-station.pls?id=213653");
            }
            if(
listitem == 2)
            {
                
StopAudioStreamForPlayer(playerid);
            }
        }
    return 
1;

Already tried to change the dialogid couple of times but still no sound...
So what have I done wrong? please help me, i'm desperate on making my own radio system, rather on downloading fs's
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)