AudioStream problem
#1

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
Reply
#2

Help me please
Reply
#3

You mean the audio is streamed twice the same time?
Reply
#4

Yes!
Reply
#5

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
Reply
#6

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);
}
Reply
#7

i think the problem is at the way you load the LSIntro0
Reply
#8

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


Forum Jump:


Users browsing this thread: 1 Guest(s)