mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-05 00:59:34 +03:00
Merge pull request #698 from Torndeco/patch-3
Added Player Names that killed Objects to diag_log
This commit is contained in:
commit
7fc31b70fe
1 file changed
+3
-2
@@ -82,13 +82,14 @@ vehicle_handleServerKilled = {
|
||||
};
|
||||
|
||||
object_handleServerKilled = {
|
||||
private["_unit","_objectID","_objectUID"];
|
||||
private["_unit","_objectID","_objectUID","_killer"];
|
||||
_unit = _this select 0;
|
||||
_killer = _this select 1;
|
||||
|
||||
_objectID = _unit getVariable ["ObjectID","0"];
|
||||
_objectUID = _unit getVariable ["ObjectUID","0"];
|
||||
|
||||
[_objectID,_objectUID] call server_deleteObj;
|
||||
[_objectID,_objectUID,_killer] call server_deleteObj;
|
||||
|
||||
_unit removeAllMPEventHandlers "MPKilled";
|
||||
_unit removeAllEventHandlers "Killed";
|
||||
|
||||
Reference in new issue
Block a user