All pastes #568922 Raw Edit

Something

public text v1 · immutable
·published 2007-06-15 21:55 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 " .. playerName .. "has died.")
end
end
 
hook.Add("PlayerDeath","InformServerOfPlayerDeath",playerDies)