mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Globally remove wrecked objects
using PVEH PVDZE_obj_Remove. Wrecks only exist for the players currently in the server when the parent object is destroyed. Passing the object through the PVEH does not work.
This commit is contained in:
@@ -124,4 +124,13 @@ switch (_variable) do {
|
||||
PVDZE_plr_FriendRQ = _arraytosend;
|
||||
_owner publicVariableClient "PVDZE_plr_FriendRQ";
|
||||
};
|
||||
|
||||
case "RemoveObject": {
|
||||
PVDZE_obj_Remove = _arraytosend;
|
||||
{
|
||||
if (isPlayer _x) then {
|
||||
(owner _x) publicVariableClient "PVDZE_obj_Remove";
|
||||
};
|
||||
} forEach playableUnits;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user