How to create an automatic music 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: How to create an automatic music stream (
/showthread.php?tid=508643)
How to create an automatic music stream -
Xessive - 23.04.2014
Hello,
I have a TDM server and I want it to stream music automatically as a player enters the server. The stream should be keep playing unless the player types /stopstream
This is the theme I want it to play: [ame]http://www.youtube.com/watch?v=iiHatTK-DgA[/ame]
Please just make it and post the script. Thank you!
Re: How to create an automatic music stream -
doreto - 23.04.2014
Quote:
Originally Posted by Xessive
Please just make it and post the script. Thank you!
|
It won't happen. This section is only for people with code and not to request.To request someone to make it for you ash here -
https://sampforum.blast.hk/showthread.php?tid=447813
Re: How to create an automatic music stream -
Rockyyy - 23.04.2014
Under on player connect add
Код:
PlayAudioStreamForPlayer(playerid, "link");
and the command:
Код:
CMD:stopstream(playerid,params[])
{
StopAudioStream(playerid);
return 1;
}