The night before launching a shooting spree at a school in California, the shooter told someone about his plan - but he wasn't taken seriously.