The fade in timer probably doesn't let fade out take place.
function player_Wasted ( ammo, attacker, weapon, bodypart )
if ( attacker ) then
if ( getElementType ( attacker ) == "player" ) then
fadeCamera ( attacker, false, 3.0, 200, 230, 230 )
setTimer ( fadeCameraDelayed, 3000, 1, attacker )
end
end
end
addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted )
function fadeCameraDelayed(player)
if (isElement(player)) then
fadeCamera(player, true)
end
end