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=606754)
Music -
Micko123 - 08.05.2016
Guys can anyone show me how to listen music on server?? I tried with 2 ******* inlcudes. non worked. Any ideas??
Re: Music -
Dayrion - 08.05.2016
Hey!
If you want play music for a player, you should : PlayAudioStreamForPlayer(playerid, url[], Float

osX = 0.0, Float

osY = 0.0, Float

osZ = 0.0, Float:distance = 50.0, usepos = 0);
Check out this link :
PlayAudioStreamForPlayer for more informations.
PS : 'The url to play. Valid formats are mp3 and ogg/vorbis. A link to a .pls (playlist) file will play that playlist.'