SA-MP Forums Archive
How to "destroy" a 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: How to "destroy" a stream? (/showthread.php?tid=319583)



How to "destroy" a stream? - Gerira Gaijin - 19.02.2012

How do I destroy an audio stream when the file is done playing?


Re: How to "destroy" a stream? - emokidx - 19.02.2012

pawn Код:
StopAudioStreamForPlayer(playerid);



Re: How to "destroy" a stream? - Gerira Gaijin - 19.02.2012

I have to make a timer for that, right?


Re: How to "destroy" a stream? - emokidx - 19.02.2012

depends.
where do you use the PlayAudioStream? if in a command. you can make another command for stopping. or just make it inside the 1st command.

Код:
This forum requires that you wait 120 seconds between posts. Please try again in 5 seconds.
badumtss