I can`t move the head, when I move the mouse and I just can`t find the problem in script;
ANGLE bone_angle;
void pl_camera()
{
bone_angle.pan = (mouse_pos.x - screen_size.x / 2) / 15;
bone_angle.tilt = (screen_size.y / 2 - mouse_pos.y) / 20;
bone_angle.roll = 0;
ent_bonereset(my,"head");
ent_bonerotate(my,"head", bone_angle);
wait(1);
vec_for_bone(camera.x, player, "eye");
ang_for_bone(camera.pan, player, "eye");
}