SA-MP Forums Archive
[HELP] PlayAudioStreamForPlayer - 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: [HELP] PlayAudioStreamForPlayer (/showthread.php?tid=348124)



[HELP] PlayAudioStreamForPlayer - jamax - 04.06.2012

Hey everybody Im jamax and I need help. I want to play the intro of sweet child o' mine from gnr on my login if somebody can find me the link I cant find me the link for the PLayAudioStreamForPlayer. Thanx


Re: [HELP] PlayAudioStreamForPlayer - newbienoob - 04.06.2012

Here
pawn Код:
//Under OnPlayerConnect
public OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid,"http://k003.kiwi6.com/hotlink/lnakm1b9tb/guns_n_roses_sweet_child_o_mine.mp3");
return 1;
}

//Under OnPlayerSpawn
public OnPlayerSpawn(playerid)
{
StopAudioStreamForPlayer(playerid);
return 1;
}



Re: [HELP] PlayAudioStreamForPlayer - jamax - 04.06.2012

Thanx mate, gonna test now!


Re: [HELP] PlayAudioStreamForPlayer - jamax - 04.06.2012

Any idea how to erase that stupid sound from the back! It goes the intro of the GNR and the SAMP sount?


Re: [HELP] PlayAudioStreamForPlayer - ricardo178 - 04.06.2012

Yes, under OnPlayerConnect there should be something like PlayerPlaySound, remove it.