Files
DayZ-Epoch/SQF/dayz_code/compile/ui_changeDisplay.sqf
2020-07-29 15:30:15 -05:00

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.
};