Song not starts - 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: Song not starts (
/showthread.php?tid=376658)
Song not starts -
trapstar2020 - 11.09.2012
song does player atm all i even have lastest audio plugin any help

?
CMD:ts(playerid, params[])
{
PlayAudioStreamForPlayer(playerid, "http://www.youtube.com/watch?v=uQZMaG1eO74");
return 1;
}
CMD:te(playerid, params[])
{
StopAudioStreamForPlayer(playerid);
return 1;
}
Re: Song not starts -
Kitten - 11.09.2012
******* isn't a mp3 file formatted you'll need to find a link such as
http://www.site.com/name.mp3
Re: Song not starts -
clarencecuzz - 11.09.2012
pawn Код:
CMD:ts(playerid, params[])
{
PlayAudioStreamForPlayer(playerid, "http://www.therundown.tv/audio/2Chainz-NoLieFtDrake_1.mp3");
return 1;
}
CMD:te(playerid, params[])
{
StopAudioStreamForPlayer(playerid);
return 1;
}
Re: Song not starts - Glint - 11.09.2012
Or you can use this ->
https://sampforum.blast.hk/showthread.php?tid=291288 (Never tested it though)
Re: Song not starts -
Audiophr3ak - 11.09.2012
I don't see any need for using audio plugins. There are pretty much sources to use with native SA-MP function.
Re: Song not starts - Glint - 11.09.2012
Quote:
Originally Posted by Audiophr3ak
I don't see any need for using audio plugins. There are pretty much sources to use with native SA-MP function.
|
The link i provided is not a plugin it is an include, that you can use to stream ******* and play the music wherever you want.
Re: Song not starts -
clarencecuzz - 11.09.2012
Quote:
song does player atm all i even have lastest audio plugin any help?
|
He was referring to the poster, because he is using the audio plugin, which is not intended for use with PlayAudioStreamForPlayer.
Re: Song not starts - Glint - 11.09.2012
Quote:
Originally Posted by clarencecuzz
He was referring to the poster, because he is using the audio plugin, which is not intended for use with PlayAudioStreamForPlayer.
|
Oh sorry i misunderstand things sometimes.