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



Help | PlayAudioStreamForPlayer - tomsalmon - 08.12.2011

Hi, i tried to make some music in game 0.3d but is not playing the song... command:

PHP код:
if (strcmp("/Music"cmdtexttrue) == 0) return PlayAudioStreamForPlayer(playerid"http://www.youtube.com/watch?v=6fjYYEhAffk"); 
Some one can help me with this?


Re: Help | PlayAudioStreamForPlayer - FarSe. - 08.12.2011

lol, http://www.*******. com/watch?v=6fjYYEhAffk is a whole HTML page,it is not a simple audio file.
Try this: https://sampforum.blast.hk/showthread.php?tid=290595


Re: Help | PlayAudioStreamForPlayer - tomsalmon - 08.12.2011

this is not work to me... when i start it, i do reset and then is play, and when i spawn is stop...


Re: Help | PlayAudioStreamForPlayer - SupremeCommander - 08.12.2011

Quote:
Originally Posted by fucking *******
This video contains content from UMG, who has blocked it in your country on copyright grounds.
Sorry about that.
This is what i see in your link...


Re: Help | PlayAudioStreamForPlayer - tomsalmon - 08.12.2011

im not understand...