mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
14 lines
321 B
Plaintext
14 lines
321 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 |