function RADTODEG(_0x256fc6) {
return _0x256fc6 * 180 / Math['PI'];
}
function calcAngle(_0x35d3ac, _0x2ed0eb) {
var _0x241205 = [];
_0x241205[0] = _0x35d3ac[0] - _0x2ed0eb[0];
_0x241205[1] = _0x35d3ac[1] - _0x2ed0eb[1];
_0x241205[2] = _0x35d3ac[2] - _0x2ed0eb[2];
var _0x4cbe27 = [];
var _0x2c0f51 = Local.GetViewAngles();
_0x4cbe27[0] = RADTODEG(Math.atan(_0x241205[2] / Math.hypot(_0x241205[0], _0x241205[1]))) - _0x2c0f51[0];
_0x4cbe27[1] = RADTODEG(Math.atan(_0x241205[1] / _0x241205[0])) - _0x2c0f51[1];
_0x4cbe27[2] = 0;
if (_0x241205[0] >= 0) _0x4cbe27[1] += 180;
return _0x4cbe27;
}
function ResolverFix() {
UI.GetValue('Script items', 'Resolver Improviment') && calcAngle;
}