Audio stream not working
#1

So guys I wanted to add an audio stream for a player when he connects but it doesn't play anything idk why..
I uploaded a song to this link under but it won't play..
Here is the code:

Код:
public OnPlayerConnect(playerid)
{
    PlayAudioStreamForPlayer(playerid, "http://picosong.com/ZJHk");
    return 1;
}
Can anyone help me? Thx
Reply
#2

You need set link to mp3 file or stream, not a download page
Reply
#3

Yes, povargek is right, check also https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer. It's indicated mp3 files only
Reply
#4

Oh ok I thought this link might work cuz it plays the song when u enter it and it's mp3...
Reply
#5

Quote:
Originally Posted by andrejc999
Посмотреть сообщение
Oh ok I thought this link might work cuz it plays the song when u enter it and it's mp3...
You can load all your mp3's to web hosting
Reply
#6

Thanks I fixed it...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)