737 {
738 if (CanDrop())
739 {
740 if ( GetFocusedContainer().IsInherited( ContainerWithCargo ) || GetFocusedContainer().IsInherited( ContainerWithCargoAndAttachments ) )
741 {
742 return GetFocusedContainer().TransferItemToVicinity();
743 }
744 else
745 {
748 if( item && player.CanDropEntity( item ) )
749 {
750 if( item.GetTargetQuantityMax() < item.GetQuantity() )
751 item.SplitIntoStackMaxClient( null, -1 );
752 else
753 player.PhysicalPredictiveDropItem( item );
754 return true;
755 }
756 }
757 }
758 return false;
759 }
class GP5GasMask extends MaskBase ItemBase
proto native DayZPlayer GetPlayer()
override EntityAI GetFocusedItem()
proto native CGame GetGame()