Requesting help regarding music on login
#1

Apparently there should be a music to be played on player connect, but it does not work (it gives no error in compilation) and i can not hear the music.

Код:
public OnPlayerConnect(playerid)
{
{
        PlayAudioStreamForPlayer(playerid, "http://grooveshark.com/#!/s/Westside+Story+ft+50+Cent/3Z91TN?src=5");
}
Reply
#2

Bad URL try dropbox or this http://mp3.mod.az/uploads/2013-12-25...3879779830.mp3
Reply
#3

PlayAudioStreamForPlayer supports only direct playable links and I'm also suggesting you not to play any music directly when a player connects. Better delay it or else it can possibly create connection related issue for the player.
Reply
#4

It works now, thanks. Can you give me the site? mp3.moz.az so I can upload smth else?
Also, what was the command for stopping? StopAudioStreamForPlayer?
Reply
#5

https://www.dropbox.com/
Reply
#6

Dropbox works pretty good for generating direct MP3 links, there are more if you ****** it.
EDIT : Late.
Reply
#7

How should I use dropbox? If I get the link, It won't work
Reply
#8

When you upload file , then press right mouse key on download icon or word and press to copy source url or address.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)