Alarm Sound ID - 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)
+--- Thread: Alarm Sound ID (
/showthread.php?tid=603995)
Alarm Sound ID -
-CaRRoT - 30.03.2016
I am looking for the alarm sound ID used in GTA SA during the Area 51 mission where the alarm is triggered (beep, beep, beep etc.), I went through all of the SA-MP sound ID's but I cant seem to find it, it would be great if someone can tell me the ID or let me know if it doesnt exist at all, thanks!
Re: Alarm Sound ID -
DiverseCardinal - 30.03.2016
Sound ID 6001 titled on the wiki as "repeating siren" -- it repeats every 2 seconds.
Re: Alarm Sound ID -
-CaRRoT - 30.03.2016
Quote:
Originally Posted by DiverseCardinal
Sound ID 6001 titled on the wiki as "repeating siren" -- it repeats every 2 seconds.
|
It's perfect, thanks!
Re: Alarm Sound ID -
-CaRRoT - 30.03.2016
I just tested this ID and it works fine, but the problem is that I can't find a way to stop it? I tried by playing another sound but that doesn't stop it, it just keeps on going forever and I can't find a function that stops recorded sounds either.
Re: Alarm Sound ID -
Mencent - 30.03.2016
Hi!
There is not a function, but you can use another sound id, e.g. this:
PHP Code:
PlayerPlaySound(playerid,1154,0,0,0);
Re: Alarm Sound ID -
JamalMaddox - 30.03.2016
Use a timer for that. Idk if it is possible
Re: Alarm Sound ID -
-CaRRoT - 30.03.2016
Quote:
Originally Posted by JamalMaddox
Use a timer for that. Idk if it is possible
|
It's not because there is no function to actually stop the sound from playing.
Quote:
Originally Posted by Mencent
Hi!
There is not a function, but you can use another sound id, e.g. this:
PHP Code:
PlayerPlaySound(playerid,1154,0,0,0);
|
Why would I use the garage opening sound ID..?
Re: Alarm Sound ID -
Mencent - 30.03.2016
You can also use an another "..._STOP" sound id.
Use the sounds which don't have (music) behind there ids because they are only short sounds.
There are much more sound ids who are only short and stop this. You can search with STRG + F and then type _STOP on this page:
https://sampwiki.blast.hk/wiki/SoundID