All pastes #568938 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-15 22:08 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)