#include "../../config_macros.hpp"
params[
["_this",objNull,[player]]
];
if(isNull _this) exitWith {
};
_this addAction ["Engage Magnetic Clamps",{
params["_vic"];
_objects= nearestObjects [player, ["Car","Tank","Air","Ship"], 20];
_vex= _objects select 1;
_vex attachTo [_vic, [0,1,-4.5]];
removeAllActions _vic;
_vic addAction ["Disengage Magnetic Clamps", {
params["_vic"];
_objects= nearestObjects [player, ["Car","Tank","Air","Ship"], 20];
removeAllActions _vic;
_vex= _objects select 1;
detach _vex;
_this execVM "RD501_Main\functions\Vehicle_Lift\laat_lift_3.sqf";
},[1],0,true,true,""," driver _target == _this "];
},[1],0,true,true,""," driver _target == _this "];