Fix MPKilled mp evh call on client, add correct 0 return value for all HandleDamage evhs when godmode

This commit is contained in:
A Man
2022-04-18 10:22:42 +02:00
parent 2a1f36f55c
commit bec7ff8146
8 changed files with 11 additions and 11 deletions

View File

@@ -70,7 +70,7 @@ _newUnit = _group createUnit [_class,respawn_west_original,[],0,"NONE"];
_newUnit allowDamage false;
if (_isArray) then {
mydamage_eh1 = _newUnit addEventHandler ["handleDamage", {0}];
mydamage_eh1 = _newUnit addEventHandler ["HandleDamage", {0}];
_newUnit setVariable ["characterID",(_this select 1),true];
_newUnit setVariable ["humanity",(_this select 2),true];
_newUnit setVariable ["zombieKills",(_this select 3),true];