mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Removed two unused files. Vanilla commits:42e72463a302726fb1926a7c53ebcf1fb63089959543ea057f
22 lines
606 B
Plaintext
22 lines
606 B
Plaintext
_trap = _this select 0;
|
|
|
|
_trap animate ['LeftShutter', 1];
|
|
_trap animate ['RightShutter', 1];
|
|
|
|
if (_trap getVariable ["armed", false]) then {
|
|
_trap setVariable ["armed", false, true];
|
|
};
|
|
|
|
PVDZ_veh_Save = [_trap, "gear"];
|
|
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));
|
|
dayz_traps_trigger = dayz_traps_trigger - [dayz_traps_trigger select (dayz_traps_active find _trap)];
|
|
dayz_traps_active = dayz_traps_active - [_trap];
|
|
};
|