SA-MP Forums Archive
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: Sound id (/showthread.php?tid=616695)



Sound id - MerryDeer - 09.09.2016

Hi,

What is sound when you are in water and press key_fire?


Re: Sound id - Threshold - 09.09.2016

Please try and search for yourself... it might not be this, but seeing as you are too lazy to do the testing for yourself, I shall also be too lazy to test it for myself.

Код:
SOUND_PED_HIT_WATER_SPLASH	1144
https://sampwiki.blast.hk/wiki/SoundID


Re: Sound id - MerryDeer - 09.09.2016

No this is not what i need, it's when hit water and other sound i need when submerged to water when press key_fire


Re: Sound id - Threshold - 09.09.2016

Well, good luck with your search.


Re: Sound id - saffierr - 09.09.2016

Every soundid is located somewhere in your documents, if I'm not mistaken.


Re: Sound id - MerryDeer - 09.09.2016

It's will be good it there will by sound id printing, when you do something in game and there is sound i could get sound, like is with animations:

Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerAnimationIndex(playerid))
    {
        new animlib[32];
        new animname[32];
        new msg[128];
        GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32);
        format(msg, 128, "Running anim: %s %s", animlib, animname);
        SendClientMessage(playerid, 0xFFFFFFFF, msg);
    }
    return 1;
}
But with sound