My cat, (repeatedly) poos and pees in the floor vents, how do i get him to stop doing that.

How do you discipline him? I've heard that you should use a water squirt bottle, but I don't own one.