Something to show who killed who if rp_showdeaths is off?

I would like a script that keeps rp_showdeaths on for admins but off for players on my dark rp server any way to do this?

If you are an admin the just open up console here and there and you can view who was killed and by who, if I am not mistaken.

I think you are mistaken. I don’t think it shows who killed who for admins if showdeaths is off.

Although, here’s a script that will do it for you:
function AdminKill(victim,inflictor,killer)
if !killer:IsPlayer() then return end

for k,v in pairs(player.GetAll()) do
	if v:IsAdmin() then
		v:PrintMessage(HUD_PRINTCONSOLE, victim:Name().." was killed by "..killer:Name())

hook.Add(“PlayerDeath”,“Show players death if your admin”,AdminKill)
It (should) print in the admin’s console who died and from what player (it won’t print it if the player wasn’t killed by another player)

Didn’t test, should work. Just put it somewhere like init.lua (must be a serverside file)

Oh sorry I wasn’t aware that it hid it from admins, but nice script I might as well try this one out. Cheers for you!