示例#1
0
        public static void OnCreateMove(CUserCmd *pCmd)
        {
            QAngle angPunchAngles = Utils.GetLocalPlayer().GetPunchAngles();

            angPunchAngles.roll = 0;

            pCmd->viewangles = pCmd->viewangles.Subtract(angPunchAngles.Multiply(2));
        }