SA-MP Forums Archive
How to stop a sound from playing - 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 stop a sound from playing (/showthread.php?tid=354755)



How to stop a sound from playing - Makaveli93 - 27.06.2012

I'm using PlayerPlaySound and a music sound ID (the one from that bee game). Now, is there a way to somehow stop that music?


Re: How to stop a sound from playing - Littlehelper - 27.06.2012

Play this music, set it under OnPlayerSpawn or make a /stopsound command.
pawn Код:
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 5.0);