Invert Yaw?

Hi Guys Im looking to invert my yaw, the way im trying to do this is like this

    private static float yaw = 10.0f;
    public int invertyaw = 1;

But it doesnt seem to work, any idea’s?

Just adding a variable isn’t going to do a thing. You have to have some code somewhere that will run and invert the yaw value.

yaw *= -1.0f;