Stop sounds? - 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 sounds? (
/showthread.php?tid=121699)
Stop sounds? -
RedFusion - 17.01.2010
What's the scriptcode for stopping a sound?
I have
OnPlayerRequestClass
Код:
PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
So how do i make the sound stop when i spawn?
Re: Stop sounds? -
GTAguillaume - 17.01.2010
Quote:
SOUND_GOGO_TRACK_START 1062 (music)
SOUND_GOGO_TRACK_STOP 1063 (music)
|
play sound ID 1063
https://sampwiki.blast.hk/wiki/SoundID
Re: Stop sounds? -
RedFusion - 17.01.2010
Quote:
Originally Posted by GTAguillaume
SOUND_GOGO_TRACK_START 1062 (music)
SOUND_GOGO_TRACK_STOP 1063 (music)
play sound ID 1063
|
The 1063 worked
What's the 1062 good for? Starting a sound?
Quote:
Originally Posted by Seif_
Play sound 0.
|
It didn't work, i guess i did something wrong.