mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16:39 +03:00
fix for name function error (untested)
17:00:15 WARNING: Function 'name' - PLAYER is dead
This commit is contained in:
@@ -4,7 +4,7 @@ _attacker = _this select 1;
|
||||
_damage = _this select 2;
|
||||
|
||||
if (!isPlayer _victim || !isPlayer _attacker) exitWith {};
|
||||
if ((name _victim) == (name _attacker)) exitWith {};
|
||||
if ((owner _victim) == (owner _attacker)) exitWith {};
|
||||
|
||||
_weapon = weaponState _attacker;
|
||||
if (_weapon select 0 == "Throw") then
|
||||
|
||||
Reference in New Issue
Block a user