MouseLook script questions

Hello, Is there any easy way to make a MouseLook script have a restricted movement up and down. like 90degreeds, ? any help whould be lovely!

here’s one without a limit. I’m not sure how to do the limited up/down movement, maybe someone could edit my script to do it.

here’s a link to a site with a mouse look for 2.49, it’s capped so you can’t look too far up/down and the cap is editable via properties.

you can go through the tutorial or just download the blend file