194 {
195 if (material_secondary == "" || quantity_secondary <= 0)
196 {
197 return;
198 }
199
202 {
204 return;
205 }
206
207 int increment = quantity_secondary;
209 int stacks_amount;
210
211 stacks_amount = Math.Ceil(increment/stack_max);
212
213 for (int i = 0; i < stacks_amount; i++)
214 {
215 if (increment > stack_max)
216 {
218 increment -= stack_max;
220 }
221 else
222 {
224 }
225 }
226 }
const int ECE_PLACE_ON_SURFACE
class GP5GasMask extends MaskBase ItemBase
void CreateSecondaryItems(ActionData action_data, string material_secondary="", int quantity_secondary=-1)
proto native CGame GetGame()