SA-MP Forums Archive
Audio - 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: Audio (/showthread.php?tid=411194)



Audio - WiseRice - 28.01.2013

PlayAudioStreamForPlayer(playerid, "http://2ky.info/Music/BTF.mp3");

i put the in onplayerconnect but music still wont work can someone help


Re: Audio - Admigo - 28.01.2013

You already have your Radio volume 100%?


Re: Audio - Scenario - 28.01.2013

A simple search of the PlayAudioStreamForPlayer function would of led you to the post I made a few weeks ago. You probably would of found your solution.

https://sampforum.blast.hk/showthread.php?tid=407234

Your vehicle's radio volume has to be turned on.


Re: Audio - WiseRice - 28.01.2013

Thanks It works how do i make it stop after it logs in?


Re: Audio - Admigo - 28.01.2013

Here u go:
https://sampwiki.blast.hk/wiki/StopAudioStreamForPlayer
Код:
StopAudioStreamForPlayer(playerid); // Stop the audio stream
U can add it OnPlayerSpawn or something.