local deathListEnabled = true
local maxDeathRecords = 5
function onDeath(cid, corpse, killer, mostDamage, unjustified, mostDamage_unjustified)
local player = Player(cid)
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You are dead.")
if getPlayerLevel(cid) < 400 then...