Here you go, it’s done. My attempt to port MouseLook 2.49 from tutorialsforblender3d.com for 2.53 Beta was hopefully successfull. I updated the attached file below and suggest to put it into Game Engine Resources if now further issues appear.
Maximum angle restrictions are -85 and 85 degrees up down (which is the same as in the 249 template). You can change the limits in between via property or you can completely remove the property to have no limits at all. The angle in the attached file is currently set on 20 degrees up/down. Btw. the issue with the obj[“Cap”] == True: was resolved with “is not None”.
MouseLook_25.blend (328 KB)