SA-MP Forums Archive
intro music dont play :(( - 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: intro music dont play :(( (/showthread.php?tid=407142)



intro music dont play :(( - gurmani11 - 12.01.2013

Quote:

public OnPlayerConnect(playerid)
{

PlayAudioStreamForPlayer(playerid,"https://dl-web.dropbox.com/get/intro.mp3?w=aadd8115"); // This will play a chicken sound for the player.

return 1;
}

IT DONT PLAY
What whould be the problem?


Re: intro music dont play :(( - Magic_Time - 12.01.2013

The termination of this link, is not: Mp3, or other music format.
That's why it doesn't work.

Try to just put:
Код:
https://dl-web.dropbox.com/get/intro.mp3



Re: intro music dont play :(( - gurmani11 - 12.01.2013

dont works


Re: intro music dont play :(( - [MG]Dimi - 12.01.2013

First of all, that song or stream or whatever is in your PRIVATE Dropbox account so Server can't access it to play it. You need to put that stream on public server and then use it in your code.


Re: intro music dont play :(( - gurmani11 - 13.01.2013

i understood but tell me how to open it to public there is no option in dropbox or give anyother place for stream


Re: intro music dont play :(( - pasha97 - 13.01.2013

Quote:
Originally Posted by gurmani11
Посмотреть сообщение
IT DONT PLAY
What whould be the problem?
it doesnt allow other people access this link. so use a public link


Re: intro music dont play :(( - Astralis - 13.01.2013

Quote:
Originally Posted by pasha97
Посмотреть сообщение
it doesnt allow other people access this link. so use a public link
Код:
Error (403)
It seems you don't belong here! You should probably sign in. Check out our Help Center and forums for help, or head back to home.
Simply, get a web hosting from somewhere and upload your songs of .mp3 to it, then simply, put a link from there. Or use like sendspace, upload .mp3, then click on download and "copy url" and put it there, must end of .mp3.


Re: intro music dont play :(( - gurmani11 - 13.01.2013

ah dude can u tell me a site for that?


Re: intro music dont play :(( - IIKINGII - 13.01.2013

I got a site for you

Here you go : www.fileden.com


Re: intro music dont play :(( - LarzI - 13.01.2013

I'd recommend a site like Soundcloud or . Simply make your own account, upload the sounds you're going to use, and set download limit to unlimited. You may then link directly to it.