182 {
183 if ( GetHierarchyRootPlayer() != null && GetHierarchyRootPlayer().GetEntityInHands() == this )
184 {
186
187 vector player_pos = player.GetPosition();
188 vector aim_pos = player.GetAimPosition();
189
191 {
193 }
194 }
195
196 return false;
197 }
bool IsPlaceableAtPosition(vector position)
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
static proto float SqrFloat(float f)
Returns squared value.