173 {
174 if ( GetHierarchyRootPlayer() != null && GetHierarchyRootPlayer().GetHumanInventory().GetEntityInHands() == this )
175 {
177
178 vector player_pos = player.GetPosition();
179 vector aim_pos = player.GetAimPosition();
180
182 {
184 }
185 }
186
187 return false;
188 }
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.