Screen shake when firing?

Is there a code that makes your screen shake (like an earthshake) for a second when you fire?

Thanks!