PlayerPlaySound(playerid, 0, ... It does not work to stop all sounds. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: PlayerPlaySound(playerid, 0, ... It does not work to stop all sounds. (
/showthread.php?tid=641904)
PlayerPlaySound(playerid, 0, ... It does not work to stop all sounds. -
JR_Junior - 22.09.2017
Hello!
The
PlayerPlaySound(playerid, 0, 0.0, 0.0, 0.0); It does not work to stop all sounds, like several sounds above ID 1000.
Re: PlayerPlaySound(playerid, 0, ... It does not work to stop all sounds. -
beckzy - 22.09.2017
I'm not sure if it'll work, but try playing sound ID 1 and then ID 0 after that.
Re: PlayerPlaySound(playerid, 0, ... It does not work to stop all sounds. -
JR_Junior - 22.09.2017
FIXED: Using invalid/inexistent sound ID works fine.
Sounds 4204-4399 are invalid or inexistent.
So, after playing the sound 9200(Fire Alarm) I'm using 4204 to stop it!