mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Add files via upload
This commit is contained in:
@@ -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.
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user