Stream - 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: Stream (
/showthread.php?tid=632438)
Stream -
StrikerZ - 14.04.2017
Well, can the audio plugin stream a sound for nearby players cause the loop makes the server crash. Check this
PHP код:
foreach(new i : Player) if(IsPlayerNearPlayer(playerid, i, 5.0))
{
music[i] = Audio_Play(i, 2);
}