110 {
111 if (
g_Game.IsDedicatedServer())
112 {
114 return;
115 }
116
118
121
122 float stackable = arrow.GetTargetQuantityMax(-1);
123
124 if (stackable == 0 || stackable >= arrow.GetQuantity())
125 {
126 action_data.
m_Player.PredictiveTakeEntityToHands(arrow);
127 }
128 else
129 {
130 arrow.SplitIntoStackMaxToInventoryLocationClient(il);
131 }
132 }
void ClearInventoryReservationEx(ActionData action_data)
void ClearActionJuncture(ActionData action_data)
class GP5GasMask extends MaskBase ItemBase
ref array< ref InventoryLocation > m_ReservedInventoryLocations
proto native EntityAI GetItem()
returns item of current inventory location