mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
61e8ae3c8b
* Add more fence types for wirecutter * Replace fences with destroyed models when cut * Move fence destruction to server side
10 lines
267 B
Plaintext
10 lines
267 B
Plaintext
#include "script_component.hpp"
|
|
|
|
if (hasInterface) then {
|
|
["ace_interactMenuOpened", {_this call FUNC(interactEH)}] call CBA_fnc_addEventHandler;
|
|
};
|
|
|
|
if (isServer) then {
|
|
[QGVAR(destroyFence), {_this call FUNC(destroyFence)}] call CBA_fnc_addEventHandler;
|
|
};
|