132 {
133 if (CanTakeToInventory())
134 {
136 SlotsIcon focused_icon = GetFocusedSlotsIcon();
137 if( entity && !entity.IsLockedInSlot() && (!focused_icon || !focused_icon.
IsOutOfReach()) )
138 {
141 return true;
142 }
143 }
144 return false;
145 }
FindInventoryLocationType
flags for searching locations in inventory
proto native DayZPlayer GetPlayer()
proto native CGame GetGame()