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



Music streaming..? - CesarLT - 23.09.2013

Hello everyone, I am wondering how can I create a music streamer which will play music on the login screen?
And how to create a streamer which will be played by a cmd..?

P.S. - Could anyone help me here?

Thanks ahead.


Re: Music streaming..? - DanishHaq - 23.09.2013

After the player see's the login screen, you can use PlayAudioStreamForPlayer, and when the user logs / gets kicked / banned / registers, you can use StopAudioStreamForPlayer.


Re: Music streaming..? - CesarLT - 23.09.2013

Quote:
Originally Posted by DanishHaq
Посмотреть сообщение
After the player see's the login screen, you can use PlayAudioStreamForPlayer, and when the user logs / gets kicked / banned / registers, you can use StopAudioStreamForPlayer.
I am using PlayAudioStreamForPlayer(playerid, "link from *******");
And I don't seem to hear that in-game? :O
Do I need to convert that or something?


Re: Music streaming..? - CesarLT - 23.09.2013

Quote:
Originally Posted by Battlezone
Посмотреть сообщение
put the video link here : http://www.*******-mp3.org/
press convert, then copy the link you got and paste it in your script
It converts it into a download, and no other link displayed..
So it still doesn't work.


Re: Music streaming..? - CesarLT - 23.09.2013

Quote:
Originally Posted by Battlezone
Посмотреть сообщение
yes copy the download link that appears
Lol, there's no link, only a "Download" button.
If I'll download that it won't really help me..lol


Re: Music streaming..? - Khanz - 23.09.2013

Why not just download the music upload to a site that allows hotlink and use that link?


Re: Music streaming..? - DanishHaq - 23.09.2013

Right click > copy link, that's the way to do it as Battlezone was telling you.


Re: Music streaming..? - CesarLT - 23.09.2013

Quote:
Originally Posted by khanz
Посмотреть сообщение
Why not just download the music upload to a site that allows hotlink and use that link?
Never knew that's a possibility, let me try that.

EDIT:
Quote:
Originally Posted by DanishHaq
Посмотреть сообщение
Right click > copy link, that's the way to do it as Battlezone was telling you.
Oh, my bad..worked fine thanks.


Re: Music streaming..? - CesarLT - 23.09.2013

Quote:
Originally Posted by Battlezone
Посмотреть сообщение
yes thats what i was meaning
My bad, misunderstood. Thank you