mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Admin can choose vanilla, classic epoch or classic epoch dark. dayz_hungerThirst was replaced with dayz_NutritionSystem
48 lines
952 B
Plaintext
48 lines
952 B
Plaintext
disableSerialization;
|
|
//_state = uiNamespace getVariable ['DZ_displayUI', 0];
|
|
|
|
// Hard code the GUI on and the Debug Monitor off
|
|
if (dayzState != 0) then {
|
|
if (toLower DZE_UI == "vanilla") then {
|
|
3 cutRsc ["playerStatusGUI", "PLAIN",0];
|
|
} else {
|
|
3 cutRsc ["playerStatusGUI_epoch", "PLAIN",0];
|
|
};
|
|
//Update GUI
|
|
call player_updateGui;
|
|
call ui_initDisplay;
|
|
hintSilent "";
|
|
};
|
|
dayzDebug = false;
|
|
|
|
/*
|
|
switch (_state) do {
|
|
case 0: {
|
|
if (dayzState != 0) then {
|
|
3 cutRsc ["playerStatusGUI", "PLAIN",0];
|
|
//Update GUI
|
|
call player_updateGui;
|
|
call ui_initDisplay;
|
|
hintSilent "";
|
|
};
|
|
dayzDebug = false;
|
|
};
|
|
case 1: {
|
|
if (dayzState != 1) then {
|
|
3 cutRsc ["playerStatusGUI", "PLAIN",0];
|
|
//Update GUI
|
|
call player_updateGui;
|
|
call ui_initDisplay;
|
|
};
|
|
dayzDebug = true;
|
|
};
|
|
case 2: {
|
|
if (dayzState != 2) then {
|
|
3 cutRsc ["default", "PLAIN",0];
|
|
hintSilent "";
|
|
};
|
|
dayzDebug = false;
|
|
};
|
|
};
|
|
dayzState = _state;
|
|
*/ |