addEventHandler( "onPlayerWasted", getRootElement( ),
function()
setTimer( spawnPlayer, 4000, 1, source, 1177.5682373047, -1323.2587890625, 14.077121734619 )
outputChatBox ( getPlayerName ( source ).." died and lost his/her clothes on the way to All Saints Hospital.")
end
)
What needs to be added to this to make it save your skin on death?