How to make permanent audio streaming?
#1

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
Reply
#2

i think the easyest way is using incognito's streamer and use dynamicspheres
Reply
#3

Just add this code under OnPlayerConnect!

pawn Код:
PlayAudioStreamForPlayer(playerid, THEURLOFTHESONG, POSX,POSY,POSZ, DISTANCE THE PLAYER CAN HEAR THE SOUND, usepos = 1)
Reply
#4

Alright let me try By the way.. Thanks for helping me
Reply
#5

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.
Reply
#6

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)