IsPC1stPerson

This command returns 1.0 if the player is in first-person view, or 0.0 otherwise.