mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-14 04:02:56 +03:00
Fix Log System2 and Remove Freefall direction (isnt used in Epoch)
This commit is contained in:
@@ -38,17 +38,6 @@ if (isServer) then {
|
||||
_x = _this select 1;
|
||||
if (typeName _x == "STRING") then {
|
||||
diag_log _x;
|
||||
/*} else {
|
||||
_unit = _x select 0;
|
||||
_source = _x select 1;
|
||||
if (((!(isNil {_source})) AND {(!(isNull _source))}) AND {((_source isKindOf "CAManBase") AND {(owner _unit != owner _source)})}) then {
|
||||
diag_log format ["Player %1 hit by %2 %3 from %4 meters",
|
||||
_unit call fa_plr2Str, _source call fa_plr2Str, _x select 2, _x select 3];
|
||||
if (_unit getVariable["processedDeath", 0] == 0) then {
|
||||
_unit setVariable [ "attacker", name _source ];
|
||||
_unit setVariable [ "noatlf4", diag_ticktime ]; // server-side "not in combat" test, if player is not already dead
|
||||
};
|
||||
};*/
|
||||
};
|
||||
};
|
||||
"PVDZE_plr_Died" addPublicVariableEventHandler {_id = (_this select 1) spawn server_playerDied};
|
||||
|
||||
Reference in New Issue
Block a user