How to stream music on command - 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 stream music on command (
/showthread.php?tid=325618)
How to stream music on command -
stormchaser206 - 14.03.2012
I Want to stream this music: [ame]http://www.youtube.com/watch?v=1nyAThrjdkw[/ame].
Command: /wawmusic
How can I do that? I need to stream music?
AW: How to stream music on command -
Littl3j0hNy - 14.03.2012
You can use this Include:
http://forum.sa-mp.com/showthread.ph...*******+stream
Or upload this Song on a Filehoster and stream it from there.
Re: How to stream music on command -
GtasaPoliceModz - 14.03.2012
Code:
COMMAND:wawmusic(playerid, params[])
{
PlayAudioStreamForPlayer(playerid, *PUT URL HERE*");
SendClientMessage(playerid, COLOR_BLUE, "[INFO] You Have turned waw music on!");
return 1;
}
Hope it worked!
Re: How to stream music on command -
stormchaser206 - 29.04.2012
Sorry for this very-late bump,
but how could i stream a .mp3 file thats on my PC?
Re: How to stream music on command -
Camacorn - 29.04.2012
Quote:
Originally Posted by stormchaser206
Sorry for this very-late bump,
but how could i stream a .mp3 file thats on my PC?
|
You would have to upload the .mp3 file to a file hosting site of your choice, and then put that URL in the command. You can't stream a song directly from your computer, unless you have experience with port forwarding (if required), and then you would have to put the song in a special folder accessable by the public, and enter your IP as the url, and then point that to the song (ex. ***.***.***.***:PORT/songpath), it's just a big hassle and not worth it to many.
Re: How to stream music on command -
stormchaser206 - 29.04.2012
Can you please explain more on how to upload it to a file hoster