Garry's Mod Wiki

Entity:GetPreferredCarryAngles

  Angle Entity:GetPreferredCarryAngles( Player ply )

Description

Called to override the preferred carry angles of this object.

This callback is only called for anim and ai type entities. For rest use GM:GetPreferredCarryAngles.

Arguments

1 Player ply
The player who is holding the object.

Returns

1 Angle
Return an angle to override the carry angles.