All pastes #568943 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-15 22:14 UTC
rendered paste body
function playerDies(victim, weapon, killer)
  //Prints the message for all players.
  for k, v in pairs(player.GetAll()) do
    v:PrintMessage(4, "Player " .. victim:Nick() .. " was killed by " .. killer:Nick() .. ".")
  end
end
hook.Add("PlayerDeath", "InformServerOfPlayerDeath", playerDies)