SA-MP Forums Archive
Quick log in audio stream - 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: Quick log in audio stream (/showthread.php?tid=446391)



Quick log in audio stream - FireNation - 25.06.2013

Hello SA-MP community, I'm trying to set up a quick server and want to add a log in music audio stream. I want the audio stream to go off once the player spawns though, if anyone can help me with this that would be great heres the audio stream I want in the quick snippet: http://k003.kiwi6.com/hotlink/17fwez...is_lyrics_.mp3


Re: Quick log in audio stream - StuartD - 25.06.2013

Try something like;

In the On Player Connect public, paste this;

pawn Код:
PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/17fwezafe6/kanye_west_and_jay-z-_niggas_in_paris_lyrics_.mp3");
And in OnPlayerSpawn

pawn Код:
StopAudioStreamForPlayer(playerid);
Think that would work? Correct me if I am wrong :L