locking at 1 angle.
updated thread its not locking anymore, now its spraying down so I look at floor instead...
Lmk if I'm doing anything wrong.
Code:
Vector Punch = *(Vector*)((DWORD)pLocal + 0x3018); Vector laAngle; pValve->pEngine->GetViewAngles(laAngle); laAngle.x -= Punch.x * 2.0f; laAngle.y -= Punch.y * 2.0f; pValve->pEngine->SetViewAngles(laAngle);