CalcViewModelView(Entity, Entity, Vector, Angle, Vector, Angle)
shared
Arguments
- weapon Entity
- viewModel Entity
- eyePosition Vector
- eyeAngles Angle
- viewModelOrigin Vector
- viewModelAngles Angle
Returns
Note: Returning is not required
Returning from hooks is not required. Only do so if you mean to override behaviour. The first hook that returns a value will be the final value, skipping all following hooks.
Examples
hook CalcViewModelView – "Allows overriding the view model's position and angles."