How to make permanent audio streaming? - 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: How to make permanent audio streaming? (
/showthread.php?tid=524971)
How to make permanent audio streaming? -
0B3Y - 09.07.2014
Hello guys... I want to ask how can i create a permanent audio streaming or some kinda boombox on specific location? So when a player reaches to the location, they will hear music, but when they go far away from the music , the music will fade out... Yes, its like boombox system but no ones own it and its permanent... Anyone can help me with this? Thanks
Re: How to make permanent audio streaming? -
AIped - 09.07.2014
i think the easyest way is using incognito's streamer and use dynamicspheres
Re: How to make permanent audio streaming? -
alanhutch - 09.07.2014
Just add this code under OnPlayerConnect!
pawn Код:
PlayAudioStreamForPlayer(playerid, THEURLOFTHESONG, POSX,POSY,POSZ, DISTANCE THE PLAYER CAN HEAR THE SOUND, usepos = 1)
Re: How to make permanent audio streaming? -
0B3Y - 09.07.2014
Alright let me try
By the way.. Thanks for helping me
Re: How to make permanent audio streaming? -
AIped - 09.07.2014
Quote:
Originally Posted by alanhutch
Just add this code under OnPlayerConnect!
pawn Код:
PlayAudioStreamForPlayer(playerid, THEURLOFTHESONG, POSX,POSY,POSZ, DISTANCE THE PLAYER CAN HEAR THE SOUND, usepos = 1)
|
he wants it permanent in some regions/areas..not the entire time..so ive read.
Re: How to make permanent audio streaming? -
0B3Y - 09.07.2014
Hey, thanks man
Its working
and i've edited the distance.. So the entire server wont listening it XD Only the player that nearby the coords would hear it