How to make the camera during a jump is not rotated

Hi, all! I use standard 3rd person controller! How to make the camera during a jump is not rotated? I use C++, no Blueprint. Thanks in advance!
P.S. Sorry for bad English.

On which axis exactly? There are helper functions inside APlayerCameraManager that allow you to limit the rotation of the camera. The functions are LimitViewPitch, LimitViewRoll and LimitViewYaw.

This may be what you are referring to, please clarify

:Thank you!