Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isServer) then{
- params ["_target", "_trigger"];
- _objects = _target nearEntities 15;
- _objects = _objects inAreaArray _trigger;
- {
- if ((typeOf _x) != "EmptyDetector") then {
- [_x, _target] call BIS_fnc_attachToRelative;
- };
- } forEach _objects;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement