Наполнение ящиков оружием

Вот сам скрипт box_refill_new.sqf
Код:
// Box time refill script version 1.1 (box_refill_new.sqf)
// Created by Grinya (grigorij.gluhov@gmail.com) 
// Usage: 
// run=[this, time] execVM "box_refill.sqf" 

private ["_box_name", 
    "_time", 
    "_weap_array", 
    "_weap_num", 
    "_magz_array", 
    "_magz_num"]; 

_box_name  =    _this select 0; 
_time   =  _this select 1; 

//Weapons names 
_weap_array  =  ["VSS_vintorez","KSVK","SVD","SVD_CAMO","Binocular"]; 

//Weapons number 
_weap_num  =  200; 

//Magazine names 
_magz_array  =  ["5Rnd_127x108_KSVK","10Rnd_762x54_SVD","10Rnd_9x39_SP5_VSS","20Rnd_9x39_SP5_VSS"]; 

//Magazine number 
_magz_num  =  200; 

while {alive _box_name} do {  

    clearWeaponCargo _box_name;  
    clearMagazineCargo _box_name;  

    { _box_name addWeaponCargo [_x, _weap_num ] } foreach _weap_array;  

    { _box_name addMagazineCargo [_x, _magz_num ] } foreach _magz_array;  

    sleep _time;  

};
А в инициализации ящика пишите:
Код:
run=[this, time] execVM "box_refill.sqf"