Could someone please create a Lua Script / Add-on that plays a sound when you die and keeps you from re-spawning for 10 seconds?
What’s in it for us?
(User was banned for this post ("Why reply?" - mahalis))
Does anyone else get paid for making mods Busymonkey?
Good point, it can’t be to hard really.
This could be rather helpful.
**[Gamemode.DoPlayerDeath
http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Gamemode.DoPlayerDeath)**
**[Gamemode.PlayerDeathSound
http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.PlayerDeathSound)**
Even better?
Just as commander204 said, the following works when ran serverside :
[lua]hook.Add(“PlayerDeathSound”, “OverrideDeathSound”, function(ply)
ply:EmitSound(“NPC_MetroPolice.Die”)
return true
end)[/lua]
This will make you sound like a metrocop.