Problem with 1º person view

Hi i´m making a game called Still here and i already create a map and a object with camera to control(1ºPerson view", My problem is when I jump to a wall, he jump more than 1 time and I dont want that.
Other problem is when he jump the top of wall the camera go very up and i can see all the scene, i want to restrict the camera for dont see the background…

Thanks

Are you using logic bricks or python?

I´m using Logic Bricks and python for controller of person, the problem is this: