It is really bad for you, and how did you manage to inhale burnt plastic fumes?

The only way that would happen is if you were smoking out of a plastic bong and accidentally heated up the plastic on it to the point of it melting.

You don't need to worry about it killing you unless you inhale a bunch.