Clamp Rotation on y axis

Hi i am using a script to my fly camera, Now i wants to restrict the rotation of A and Z to a limit and also my cam should not come down. please spare some code. i have attached the code which i am currently using,
The Code goes here: [74019-fly.txt|74019]

Fellows these lines of code solved my problem. Hope it does help for someone, so i am happy to share it here. The number here denotes the y value in my transform.

if (transform.position.y < 213.0f) { transform.position = new Vector3(transform.position.x, 213.0f, transform.position.z); } if (transform.position.y > 213.0f) { transform.position = new Vector3(transform.position.x, 213.0f, transform.position.z); }