NB! It seems this console command is not compatible with CS2.
Command Profile

CL_CAMERA_FOLLOW_BONE_INDEX

CS:GO

This command adjusts how the camera follows the index of the bone.

Syntax
cl_camera_follow_bone_index [-2 / -1 / 0]

Description

This command adjusts how the camera follows the index of the bone.

Syntax And Arguments

cl_camera_follow_bone_index [-2 / -1 / 0]
-2 / -1 / 0 The different settings for the command. -2 disables the command, -1 sets it to follow the root bone and 0 sets it to the bone index.