// Declaracao de variaveis params ["_heli"]; private _basket = _heli getVariable ["rescueseat", objNull]; private _rope = _heli getVariable ["hoistrope", objNull]; if (isNull _rope) exitWith { _heli vehicleChat "no rope!"; }; private _length = ropeLength _rope; if (_length <= 3.1) then { { if (!isNil "_x") then { _x leaveVehicle _basket; _x action ["GetOut", _basket]; sleep 0.1; _basket lock 0; [_x, _heli] remoteExec ["moveInCargo", _x]; _x assignAsCargo _heli; }; } forEach crew _basket; ropeDestroy _rope; deleteVehicle _basket; _heli setVariable ["rescueseat", nil]; _heli setVariable ["hoistrope", nil]; _heli vehicleChat "Basket In Cabin"; } else { _heli vehicleChat "First Raise The Basket To Cabin Door"; }; // ropeCut [_heli getVariable "hoistrope", 0]; // deleteVehicle (_heli getVariable "rescueseat");