need 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: need sound id (
/showthread.php?tid=658422)
need sound id -
qlia - 03.09.2018
hi. i need this sound ID :
http://www.mediafire.com/file/ychufg...2_420.mp3/file
and i want to play this for all of the players , should i use this :
PlayerPlaySound(i, SOUND-ID);
??
Re: need sound id -
qlia - 03.09.2018
help me please !
Re: need sound id -
xRadical3 - 03.09.2018
Add in your script:
Код:
#define PlaySound(%0,%1); \
PlayerPlaySound(%0,%1,0.0,0.0,0.0);
#define PlaySoundForAll(%1); \
for(new i=0; i < MAX_PLAYERS; i++) return PlayerPlaySound(i,%1,0.0,0.0,0.0);
#define StopSound(%0); \
PlayerPlaySound(%0,1184,0.0,0.0,0.0);
Код:
PlaySound(playerid , sound id);
PlaySoundForAll(sound id);
StopSound(playerid);
This method is quick and easy
You can find the sound id you want in
https://sampwiki.blast.hk/wiki/SoundID
Re: need sound id -
qlia - 03.09.2018
cant find that sound
anyone have this sound id ?
Re: need sound id -
xRadical3 - 03.09.2018
Quote:
Originally Posted by qlia
cant find that sound anyone have this sound id ?
|
No i haven't but if i find the sound id, i give you.
Re: need sound id -
qlia - 04.09.2018
guys i really need this /: i searched on sounds with preview apps but cant find this any idea?
Re: need sound id -
Sew_Sumi - 04.09.2018
This is the Bloodring Demo Derby start noise.
Try these, they are the only things I can find that have horn, and I suspect that the longer one is a foghorn, and the other one should be what you are looking for.
Random/Extra:
3200 - Air horn
3201 - Air horn (longer than previous one)
Re: need sound id -
qlia - 04.09.2018
thnx <3
Re: need sound id -
Sew_Sumi - 05.09.2018
Huehue, was the first one it?
(I didn't check, I just searched a bit and found some avenues)