Garry's Mod Wiki

Player:GetPreferredCarryAngles

  Angle Player:GetPreferredCarryAngles( Entity carryEnt )

Description

Returns the preferred carry angles of an object, if any are set.

Calls GM:GetPreferredCarryAngles with the target entity and returns the carry angles.

Arguments

1 Entity carryEnt
Entity to retrieve the carry angles of.

Returns

1 Angle
Carry angles or nil if the entity has no preferred carry angles.