Help with audio streaming
#4

This is how you would do it:

pawn Код:
if(listitem == 17)// The Breeze(Jazz)
{
    PlayAudioStreamForPlayer(playerid,"http://yp.shoutcast.com/sbin/tunein-station.pls?id=133405");
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(GetPlayerVehicleID(i) == GetPlayerVehicleID(playerid))
        {
            PlayAudioStreamForPlayer(i,"http://yp.shoutcast.com/sbin/tunein-station.pls?id=133405");
        }
    }
}
Now, since you said that stopping it doesn't, well, stop it, show me the code.
Reply


Messages In This Thread
Help with audio streaming - by Compton - 27.06.2012, 06:42
Re: Help with audio streaming - by Kindred - 27.06.2012, 07:01
Re: Help with audio streaming - by Compton - 27.06.2012, 07:42
Re: Help with audio streaming - by Kindred - 27.06.2012, 07:45
Re: Help with audio streaming - by Compton - 27.06.2012, 07:51
Re: Help with audio streaming - by Compton - 27.06.2012, 08:09

Forum Jump:


Users browsing this thread: 1 Guest(s)