// Declaracao de variaveis params ["_heli"]; private _rope = _heli getVariable ["hoistrope", objNull]; if (isNull _rope) exitWith { _heli vehicleChat "no rope!"; }; // Corte do cabo ropeCut [_rope, 0]; ropeDestroy _rope; _heli setVariable ["hoistrope", nil];