Garry's Mod Wiki

NPC:SetMoveYawLocked

  NPC:SetMoveYawLocked( boolean lock )

Description

Sets whether the current movement should locked on the Yaw axis or not.

Arguments

1 boolean lock
Whether the movement should yaw locked or not.