Fix some issues with traps

Removed two unused files.

Vanilla commits:

42e72463a3

02726fb192

6a7c53ebcf

1fb6308995

9543ea057f
This commit is contained in:
ebayShopper
2017-03-20 15:53:35 -04:00
parent 100f9f5da8
commit e38f47375c
20 changed files with 111 additions and 117 deletions

View File

@@ -3,9 +3,16 @@ _trap = _this select 0;
_trap animate ['LeftShutter', 1];
_trap animate ['RightShutter', 1];
_trap setVariable ["armed", false, true];
if (_trap getVariable ["armed", false]) then {
_trap setVariable ["armed", false, true];
};
PVDZ_veh_Save = [_trap, "gear"];
publicVariableServer "PVDZ_veh_Save";
if (isServer) then {
PVDZ_veh_Save call server_updateObject;
} else {
publicVariableServer "PVDZ_veh_Save";
};
if (_trap in dayz_traps_active) then {
deleteVehicle (dayz_traps_trigger select (dayz_traps_active find _trap));