Esto seria mas efectivo que usar source = source, es preferible crear variables a usar variables "reservadas". Solo por convención
function deathspawn ()
fadeCamera ( getRootElement(), false, 2 )
Local thePlayer = source --Nueva variable
setTimer( function()
fadeCamera ( getRootElement(), true, 2 )
setCameraMatrix ( getRootElement(), 0, 0, 33, 100, 100, 3 )
spawnPlayer ( thePlayer, math.random (0,100), math.random (0,100), 10 )
end, 4000, 1)
end
addEventHandler ("onPlayerWasted", getRootElement(), deathspawn)