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



Music: - kepa333 - 08.06.2012

How do i play a music number from ******* at the beggining of my samp server i mean when u start
like this [ame]http://www.youtube.com/watch?v=e2Tu8vMDIP0&feature=related[/ame]


Re: Music: - zxc1 - 08.06.2012

Streaming audio under OnPlayerConnect public?
pawn Код:
public OnPlayerConnect(playerid)
{
    PlayAudioStreamForPlayer(playerid, URL);
}



Re: Music: - kepa333 - 08.06.2012

ye but can i put it like this?


public OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid, http://www.youtube.com/watch?v=dTI0KDuQl_4);
}


Re: Music: - FalconX - 08.06.2012

Quote:
Originally Posted by kepa333
Посмотреть сообщение
ye but can i put it like this?


public OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid, http://www.youtube.com/watch?v=dTI0KDuQl_4);
}
No, if you want to use ******* videos to be loaded in your server as an audio you can do that by using the following include in your script.

https://sampforum.blast.hk/showthread.php?tid=291288

-FalconX


Re: Music: - kepa333 - 08.06.2012

This is outdated like shit He never online and he never fix his FS lol..
aint there another way to put such a link wich that video is , i heard its like mp3 or something


Re: Music: - Gaetic - 08.06.2012

It's really simple. Just go to http://www.video2mp3.net/ and download your ******* video as .mp3. Now go to solidfiles and upload your song and give the link.


Re: Music: - kepa333 - 08.06.2012

lol ty


Re: Music: - kepa333 - 08.06.2012

http://www.solidfiles.com/d/1e44e78c4b/
Ok what now


Re: Music: - Gaetic - 08.06.2012

Код:
public OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid, http://www.solidfiles.com/d/1e44e78c4b);
}



Re: Music: - FalconX - 08.06.2012

Quote:
Originally Posted by Gaetic
Посмотреть сообщение
Код:
public OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid, http://www.solidfiles.com/d/1e44e78c4b);
}
Won't work..

the file extension must be mp3, pls or vob etc.

-FalconX