[Question] How to stop PlayerPlaySound? - 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: [Question] How to stop PlayerPlaySound? (
/showthread.php?tid=273778)
[Question] How to stop PlayerPlaySound? -
KfirRP - 03.08.2011
I want to make a PlayerPlaySound but stop it somewhen. Is there any function to turn the sound off?
Re: [Question] How to stop PlayerPlaySound? -
iiKyle - 03.08.2011
Turning the Sound Off, There are Start && Stop Sounds
e.g
SOUND_CRANE_MOVE_START 1020 Notice the START? It'll Start the CRANE_MOVE Sound.
SOUND_CRANE_MOVE_STOP 1021 Notice the STOP? It'll Stop the CRANE_MOVE Sound.
Cheers iiKyle
Re: [Question] How to stop PlayerPlaySound? -
KfirRP - 03.08.2011
Thank you.. A friend told me to use an unknown sound id .. but I prefer this more precents of working
Re: [Question] How to stop PlayerPlaySound? -
EviLpRo - 03.08.2011
not all music has a melody off ...
you can do what I told you in another forum ...
just run SoundID not exist.
Re: [Question] How to stop PlayerPlaySound? -
KfirRP - 03.08.2011
Well, I found another solution, found a one second sound ID length which fits the turn off. Thanks.
Can be locked / Closed / archived or w.e