ACE3/addons/frag/functions/fnc_removeTrack.sqf
PabstMirror 9c0478ddfd Cleanup
2015-06-18 22:04:48 -05:00

15 lines
323 B
Plaintext

#include "script_component.hpp"
private ["_ret"];
_ret = true;
if(IS_ARRAY((_this select 0))) then {
_ret = false;
} else {
if((_this select 0) in GVAR(trackedObjects)) then {
GVAR(trackedObjects) = GVAR(trackedObjects) - [(_this select 0)];
} else {
_ret = false;
};
};
_ret