Add files via upload

This commit is contained in:
worldwidesorrow
2020-04-21 14:41:48 -05:00
committed by GitHub
parent e180ffe9e4
commit e37d2a984d

View File

@@ -1,17 +1,19 @@
private "_ui";
disableSerialization; disableSerialization;
if (profileNamespace getVariable ["statusUI",1] == 1) then { DZE_UI = (profileNamespace getVariable ["statusUI",1]);
private "_style";
_style = call { if !(DZE_UI == 0) then {
if (toLower DZE_UI == "vanilla") exitWith {"playerStatusGUI"}; _ui = call {
if (toLower DZE_UI in ["whiteborders","greenborders"]) exitWith {"playerStatusGUI_legacy"}; if (DZE_UI == 1) exitWith {"playerStatusGUI"};
"playerStatusGUI_epoch"; // default if (DZE_UI == 2) exitWith {"playerStatusGUI_epoch"};
"playerStatusGUI_legacy";
}; };
3 cutRsc [_style,"PLAIN",0]; 3 cutRsc [_ui,"PLAIN",0];
call player_updateGui; call player_updateGui;
call ui_initDisplay; //call ui_initDisplay; // I think this function is old and no longer necessary - JasonTM.
hintSilent ""; //hintSilent ""; // not sure why this is here.
} else { } else {
3 cutRsc ["default","PLAIN",0]; 3 cutRsc ["default","PLAIN",0];
hintSilent ""; //hintSilent ""; // or here.
}; };