Get player name before death

Vanilla commit:

3e8c9410c5
This commit is contained in:
ebaydayz
2016-10-13 16:01:55 -04:00
parent 0b9c4a7ade
commit 7044b0095d
3 changed files with 4 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ while {true} do {
};
if ((!isNil "Dayz_loginCompleted") and {(Dayz_loginCompleted)}) exitWith {
//diag_log [ __FILE__, __LINE__, "End loop"];
dayz_playerName = if (alive player) then {name player} else {"unknown"};
};
_display = uiNameSpace getVariable "BIS_loadingScreen";
if ((!isNil "_display") and {(dayz_loadScreenMsg != "" )}) then {