mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
More Fixes #991
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
private["_body","_name","_method","_methodStr"];
|
||||
private["_body","_name","_method","_methodStr","_bodyName"];
|
||||
_body = _this select 3;
|
||||
_name = _body getVariable["bodyName","unknown"];
|
||||
_bodyName = toArray "unknown";
|
||||
_name = _body getVariable["bodyName",_bodyName];
|
||||
_method = _body getVariable["deathType","unknown"];
|
||||
_methodStr = localize format ["str_death_%1",_method];
|
||||
|
||||
|
||||
cutText [format[(localize "str_player_studybody"),_name,_methodStr], "PLAIN DOWN"];
|
||||
cutText [format[(localize "str_player_studybody"),toString(_name),_methodStr], "PLAIN DOWN"];
|
||||
|
||||
@@ -150,7 +150,7 @@ if(_currentWpn != "") then {_newUnit selectWeapon _currentWpn;};
|
||||
//dayz_originalPlayer attachTo [_newUnit];
|
||||
player disableConversation true;
|
||||
|
||||
player setVariable ["bodyName",dayz_playerName,true];
|
||||
player setVariable ["bodyName",(toArray dayz_playerName),true];
|
||||
|
||||
if (_tagSetting) then {
|
||||
DZE_ForceNameTags = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
private ["_characterID","_minutes","_newObject","_playerID","_playerName","_infected","_victim","_victimName","_killer","_killerName","_weapon","_distance","_message","_loc_message","_key","_death_record"];
|
||||
private ["_characterID","_minutes","_newObject","_playerID","_playerName","_infected","_victim","_victimName","_killer","_killerName","_weapon","_distance","_message","_loc_message","_key","_death_record","_victimArray","_victimNameArray"];
|
||||
//[unit, weapon, muzzle, mode, ammo, magazine, projectile]
|
||||
_characterID = _this select 0;
|
||||
_minutes = _this select 1;
|
||||
@@ -8,8 +8,9 @@ _playerName = toString(_this select 4);
|
||||
_infected = _this select 5;
|
||||
|
||||
_victim = _newObject;
|
||||
_victimName = _victim getVariable["bodyName", "nil"];
|
||||
|
||||
_victimArray = toArray "nil";
|
||||
_victimNameArray = _victim getVariable["bodyName", _victimArray];
|
||||
_victimName = toString (_victimNameArray);
|
||||
_killer = _victim getVariable["AttackedBy", "nil"];
|
||||
_killerName = _victim getVariable["AttackedByName", "nil"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user