Audio Stream Not Playing
#1

Hey guys,

I'm using this script under OnPlayerConnect:

PlayAudioStreamForPlayer(playerid, "http://www.mediafire.com/listen/5oxyv1qdmvmh86m/Theme.mp3");

And then at the bottom of the server at the commands:

CMDtopstream(playerid,params[])
{
StopAudioStreamForPlayer(playerid);
SendClientMessage(playerid, whitee, "The music stream has been stopped.");
return 1;
}

The stream starts but its no music. Its like muting your speakers. When I write /stopstream, the stream stops and I hear the other GTA sounds. So the problem lies in PlayAudioStreamForPlayer.

I do have the <streamer> include.

Can somebody tell me the problem or give another script? Basically I want the stream to start OnPlayerConnect and not stop until the player types /stopstream.
Reply


Messages In This Thread
Audio Stream Not Playing - by Xessive - 24.04.2014, 03:38
Respuesta: Audio Stream Not Playing - by Snoopythekill - 24.04.2014, 03:51
Re: Respuesta: Audio Stream Not Playing - by Xessive - 24.04.2014, 04:16
Re: Audio Stream Not Playing - by DonaldDuck - 17.10.2017, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)