Fix Log System2 and Remove Freefall direction (isnt used in Epoch)

This commit is contained in:
Skaronator
2014-01-25 19:03:43 +01:00
parent f8cffef0a4
commit 8f92222602
2 changed files with 21 additions and 31 deletions

View File

@@ -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};