Garry's Mod Wiki

CUserCmd:GetViewAngles

  Angle CUserCmd:GetViewAngles()

Description

Gets the direction the player is looking in.

Returns

1 Angle
The direction the player is looking in.