SA-MP Forums Archive
How to stream radio on one location? - 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 stream radio on one location? (/showthread.php?tid=529678)



How to stream radio on one location? - 0B3Y - 03.08.2014

Title says it all... And how can i make that audio url not streamed when a players connect, i want that the players is streamed the audio when they are on the location i decided?
i have this under onplayerconnect
Код:
PlayAudioStreamForPlayer(playerid, "http://www.sugaming.net/sugr.pls", 2123.2053, -1816.4955, 22.2445, 50, 1);
But its streamed when the players connect.. So the players would lag event though they doesnt hear music :/


Re: How to stream radio on one location? - Stanford - 03.08.2014

Create a dynamic area in that place using streamer.
It will work perfectly and streamer offers a big amount of features for dynamic areas for instance OnPlayerEnterDynamicArea or something like that check the streamer original post.


Re: How to stream radio on one location? - 0B3Y - 03.08.2014

Alright.. Thanks for your informations