PlayAudioStreamForPlayer Questions - 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: PlayAudioStreamForPlayer Questions (
/showthread.php?tid=434132)
PlayAudioStreamForPlayer Questions -
Jay_Dixon - 01.05.2013
Ok, so i understand how the PlayAudioStreamForPlayer works, when i wanna make a radio just for that player to hear. But for what i'm planning, i need it so that everyone that's in the interior would be able to hear it. Now here's my normal code for what i said. What would i have to do to make it so that everyone in the interior to hear it?
Normal scripting from my /satelite cmd
Код:
new string[128];
PlayAudioStreamForPlayer(playerid, "http://67.213.213.143:8048/");
format(string,sizeof(string),"* %s stats listning to Hard Rock Heaven on %s radio.",PlayerName(playerid), HisHer(playerid));
ProxDetector(8.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return 1;
Re: PlayAudioStreamForPlayer Questions -
Jay_Dixon - 01.05.2013
Quote:
Originally Posted by ******
Add a loop.
|
An example would be nice, i've never had anyone say add a loop, i don't think anything i've done even involves those D: