Description
This simple plugin was made upon request to play a sound upon a player's death to both the victim and the killer. I separated out the cvars for which sound is heard by each. Leave the cvars blank for no sound to play. No idea if this already exists, and I wouldnt be surprised if it does. But since the guy asked for it, I might as well post it as a plugin, rather than in his thread.
Note: Plugin auto-detects if path is relative to the sounds folder. So, you're ok to set either the relative path or the full path (e.g. "sounds/mysound.mp3" vs "mysound.mp3" will both work, as long as it is in the sounds folder like it should be).
Installation
Place the .smx file in your addons/sourcemod/plugins folder.
CVars- tcds_killersound - File path to sound that the killer will hear. Leave blank for none.
- tcds_victimsound - File path to sound that the victim will hear. Leave blank for none.
Note: Here are links to the two other includes (EmitSoundAny and AutoExecConfig):
https://forums.alliedmods.net/showthread.php?t=237045
https://forums.alliedmods.net/showthread.php?t=204254
Servers using this plugin