SA-MP Forums Archive
Stop Sound for Player - 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: Stop Sound for Player (/showthread.php?tid=409704)



Stop Sound for Player - Jermi - 22.01.2013

What is the Code of Stopping the Sound for player?

When i make PlayerPlaySound(...etc)
I wanna stop it, What is the code?


Re: Stop Sound for Player - Da_Noob - 22.01.2013

You can always do:

Код:
PlayerPlaySound(playerid, 0, 0.0, 0.0, 0.0);
This won't play any sound for the player. To stop an audio stream you can use:

StopAudioStreamForPlayer


Re: Stop Sound for Player - Jermi - 22.01.2013

Thanks