stop playing sound - 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: stop playing sound (
/showthread.php?tid=77566)
stop playing sound -
Gamer007 - 12.05.2009
What's the command to stop playing sound when player spawns??
Re: stop playing sound -
Weirdosport - 12.05.2009
There isn't one as far as I know.. You just have to wait for the sound to stop playing
Re: stop playing sound -
Gamer007 - 12.05.2009
So how to stop the sound PlayerPlaySound(playerid, 1097,0,0,0);? when he spawns? i saw in server this sound and they stop it somehow
Re: stop playing sound -
Weirdosport - 12.05.2009
Well I can't see a function on the wiki, and usually the wiki is king. Maybe by doing something to the player, like changing their position causes the sound to stop.
Re: stop playing sound -
Gamer007 - 12.05.2009
well then it would end the sound cuz i change his position..
Re: stop playing sound -
MenaceX^ - 12.05.2009
Try that soundid 1186.
Re: stop playing sound -
Gamer007 - 12.05.2009
that doesn't play anything..
Re: stop playing sound -
yom - 12.05.2009
Open AudioEvents.txt..
Код:
SOUND_AWARD_TRACK_START 1097
SOUND_AWARD_TRACK_STOP 1098
Re: stop playing sound -
Windows7 - 19.02.2011
Try this
Код:
PlayerPlaySound(playerid,1063,0.0,0.0,0.0);