if ( !hasInterface ) exitWith {}; if (!isServer) then { ["milsim_logText", { params [["_strArray", [""], [[]]]]; { diag_log text _x; } forEach _strArray; }] call CBA_fnc_addEventHandler; }; // 5 seconds after the client is loaded, add the resupply action to all arsenal boxes [ {time > 5}, { if (missionNamespace getVariable [ "milsim_resupply_setting_allowSupplyBoxScrollWheelSpawning", false ]) then {call milsim_resupply_fnc_addSpawnBoxActions} } ] call CBA_fnc_waitUntilAndExecute; ["InitializePlayer", [player, true]] call BIS_fnc_dynamicGroups; nil;