Song Streaming, login sounds
#1

Ok, now i've seen this on other servers, where some people have songs stored in some files on their ftp, that play sounds ingame. Like for example, when you click cancel on clucking bell, it loads a sound file and makes it say "If you come back, your a moron". Now say i wanted to loop this song here into a login sound (not really gonna use it since i don't wanna be sued, i'll be making my own obviously xD). How would i go about doing this? I know i'd go under the OnPlayerConnect, but i need to know how to make it grab and play the song from a file


Something like that, as a login sound
[ame]http://www.youtube.com/watch?v=GbbkrnSKnD4[/ame]
Reply
#2

the SA-MP just stream audio with sound format(.mp3), for you stream this music you have to get the link of video, than extract the audio, than upload de audio(has sites have websites that you can do this, http://k005.kiwi6.com/) take the .mp3 link and put in the PlayAudioStreamForPlayer

pawn Код:
PlayAudioStreamForPlayer(playerid,"link");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)