592 {
593 if (CanDrop())
594 {
597 {
599 if( item && player.CanDropEntity( item ) )
600 {
601 if( item.GetTargetQuantityMax() < item.GetQuantity() )
602 item.SplitIntoStackMaxClient( null, -1 );
603 else
604 player.PhysicalPredictiveDropItem( item );
605 return true;
606 }
607 }
608 }
609 return false;
610 }
class GP5GasMask extends MaskBase ItemBase
proto native DayZPlayer GetPlayer()
proto native CGame GetGame()