SA-MP Forums Archive
Sound ID for m4/ak - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Sound ID for m4/ak (/showthread.php?tid=647601)



Sound ID for m4/ak - Sting. - 07.01.2018

Does anyone know the sound ID for m4/ak47? Like a single shot sound. I could find it at GTA SA sfx, general sound, library 137, sound 004. But the problem is, how do you get the sound ID? I've tried many apps that are out there, but they don't seem to have it.

There's this list: https://pastebin.com/sA5DNFaw

But how do you like preview the sound? Any ideas anyone?


Re: Sound ID for m4/ak - RIDE2DAY - 07.01.2018

I think weapon sounds aren't available in SA-MP yet. Maybe you might want to check the AudioEvents.txt file from the data folder, I couldn't find weapon sounds tho.


Re: Sound ID for m4/ak - Sting. - 07.01.2018

Quote:
Originally Posted by RIDE2DAY
Посмотреть сообщение
I think weapon sounds aren't available in SA-MP yet. Maybe you might want to check the AudioEvents.txt file from the data folder, I couldn't find weapon sounds tho.
I tried man, all the same things. Could not find weapon sounds, too.


Re: Sound ID for m4/ak - Isolated - 07.01.2018

Why don't you use an audio streamer? Find the sound fx you want, upload it somewhere and stream it into your server? I know it's a little hacky and in no way ideal, but it'd work?


Re: Sound ID for m4/ak - Sting. - 07.01.2018

Quote:
Originally Posted by Isolated
Посмотреть сообщение
Why don't you use an audio streamer? Find the sound fx you want, upload it somewhere and stream it into your server? I know it's a little hacky and in no way ideal, but it'd work?
What your suggesting is what I even thought of, but as you see I'm planning to make gun shot sounds each time a player hits some key, imagine the stream client message spamming the chat box each time a player hits a key, etc.Spacebar..... How bad it will look. That's why I'm looking for PlayPlayerSound, which should be better. Anyway, thanks for sharing your opinion.


Re: Sound ID for m4/ak - Freaksken - 07.01.2018

Pretty sure you can't access those sounds in SA-MP.


Re: Sound ID for m4/ak - ad@m - 07.01.2018

Quote:
Originally Posted by Isolated
Посмотреть сообщение
Why don't you use an audio streamer? Find the sound fx you want, upload it somewhere and stream it into your server? I know it's a little hacky and in no way ideal, but it'd work?
Every gun would make the same sound no?


Re: Sound ID for m4/ak - Sting. - 07.01.2018

Then I suppose its better to use Audio Stream for player then, but could we like disable the messages from being shown as Client messages? cause that is what will spam the chat box than.....


Re: Sound ID for m4/ak - NaS - 09.01.2018

Audio Plugin would be the best idea. Using default Audio Streams is very bad for this as there is a noticable delay between triggering the sound and the playback, this is especially bad for sounds that are short and played in a high frequency (like gun sounds).

The alternative would be making the sound longer and repetetive at the exact same frequency as the gunfire, so you don't play the sound on each shot, but rather for the whole duration it is shooting. This would probably not perfectly sync with the actual gun shots but it's, as far as I can see, the best approach using default Audio Streams without spamming the chat or having sounds interrupted/not played because of the delay.


Re: Sound ID for m4/ak - Meller - 09.01.2018

/audiomsg

disables the Audio Stream msg