mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
22 lines
669 B
Plaintext
22 lines
669 B
Plaintext
private "_ui";
|
|
disableSerialization;
|
|
|
|
DZE_UI = (profileNamespace getVariable ["statusUI",1]);
|
|
|
|
if !(DZE_UI == 0) then {
|
|
_ui = call {
|
|
if (DZE_UI == 1) exitWith {"playerStatusGUI"};
|
|
if (DZE_UI == 2) exitWith {"playerStatusGUI_epoch"};
|
|
"playerStatusGUI_legacy";
|
|
};
|
|
3 cutRsc [_ui,"PLAIN",0];
|
|
if (Z_singleCurrency) then {16 cutRsc ["ZSC_Money_Display","PLAIN"];};
|
|
call player_updateGui;
|
|
//call ui_initDisplay; // I think this function is old and no longer necessary - JasonTM.
|
|
//hintSilent ""; // not sure why this is here.
|
|
} else {
|
|
3 cutRsc ["default","PLAIN",0];
|
|
if (Z_singleCurrency) then {16 cutRsc ["default","PLAIN"];};
|
|
//hintSilent ""; // or here.
|
|
};
|