Get sony vegas or something and convert it into a .ogg sound. Then make a text file and put this into it:
Quote:<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="nameofsound.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="12" MaxDistance="50" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="False" BlockVolumeMul="0.7" Priority="0" />
</SOUNDENTITY>
Replace nameofsound with the name of the sound (keep the .ogg)
Then in a function block.
Add:
PlaySoundAtEntity("", "Nameofsound.snt", "Player", 0, false);