SA-MP Forums Archive
AudioStream problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: AudioStream problem (/showthread.php?tid=368500)



AudioStream problem - GeonMake - 13.08.2012

I have a problem ..
It's the first time I work with and you get audiostream streameru server starts but two times, why? streamer starts and 2 times in chat
Please help me..thanks


Re: AudioStream problem - GeonMake - 14.08.2012

Help me please


Re : AudioStream problem - Eony - 14.08.2012

You mean the audio is streamed twice the same time?


Re: AudioStream problem - GeonMake - 15.08.2012

Yes!


Re: AudioStream problem - IceMeteor - 15.08.2012

Wait, i will see through your mind, i see some code there, and yeah i get the code. The main problem here is you don't show us the code


Re: AudioStream problem - GeonMake - 15.08.2012

function LSIntro0(playerid)
{
PlayerTextDrawHide(playerid, BlackScreen[playerid]);
PlayerTextDrawHide(playerid, Newbie1[playerid]);
PlayerTextDrawHide(playerid, Newbie2[playerid]);
PlayerTextDrawHide(playerid, Newbie3[playerid]);
for(new td = 0; td <= 3; td++) { PlayerTextDrawShow(playerid, BaraTutorial[td][playerid]); }
PlayerTextDrawShow(playerid, LogoMare1[playerid]);
PlayerTextDrawShow(playerid, LogoMare2[playerid]);
PlayerTextDrawShow(playerid, LogoMare3[playerid]);
PlayerTextDrawShow(playerid, LogoMare4[playerid]);
PlayerTextDrawShow(playerid, LogoMare5[playerid]);
PlayerTextDrawShow(playerid, LogoMare6[playerid]);
PlayerTextDrawShow(playerid, LogoMare7[playerid]);
PlayerTextDrawShow(playerid, LogoMare8[playerid]);
PlayerTextDrawShow(playerid, Audio[0][playerid]);
PlayerTextDrawShow(playerid, Audio[1][playerid]);
TogglePlayerSpectating(playerid, 1);
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid,"http://link/name.mp3");
InterpolateCameraPos(playerid, 1529.3409,-1613.8142,23.2782, 1529.9996,-1709.5605,26.8613, 10000, CAMERA_MOVE);
SetTimerEx("LSIntro1", 10000, 0, "i", playerid);
}


Re: AudioStream problem - IceMeteor - 15.08.2012

i think the problem is at the way you load the LSIntro0


Re: AudioStream problem - GeonMake - 15.08.2012

SetTimerEx("LSIntro0", 10000, 0, "i", playerid);