How to stop the music? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to stop the music? (
/showthread.php?tid=156370)
How to stop the music? -
Libra - 22.06.2010
So, when you select a skin, there's a music:
Код:
PlayerPlaySound(playerid,1062,-3359.1,3008.2,1.7);
But how to stop it when you spawn?
Re: How to stop the music? -
DJDhan - 22.06.2010
Quote:
Originally Posted by DJDhan
There is no function to stop a sound played by PlayerPlayerSound. It will get over once it's over. I suggest you use a shorter sound.
|
Please do not make new threads about the same problem.
Re: How to stop the music? -
Libra - 22.06.2010
Quote:
Originally Posted by DJDhan
Quote:
Originally Posted by DJDhan
There is no function to stop a sound played by PlayerPlayerSound. It will get over once it's over. I suggest you use a shorter sound.
|
Please do not make new threads about the same problem.
|
Yee? In other servers it works, there are topics about it, there's an anwser, but it dosen't work for me.
Re: How to stop the music? -
Hiddos - 22.06.2010
pawn Код:
PlayerPlaySound(playerid,1063,-3359.1,3008.2,1.7);
Re: How to stop the music? -
DJDhan - 22.06.2010
I never said it isn't possible did I?
Find a sound that is very feable and play that sound. It's equivalent to silence.
Yes, there are many topics about it. There are solutions in them too.
What did you try btw?
Re: How to stop the music? -
Hiddos - 22.06.2010
I also saw this:
pawn Код:
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0);
Sucks that this isn't on the wiki.
Use search though.