mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-09 17:52:54 +03:00
@@ -9,7 +9,12 @@ sched_gui = {
|
||||
_initDone = _this select 0;
|
||||
|
||||
if ((!_initDone and !isNil 'Dayz_loginCompleted') and {(Dayz_loginCompleted)}) then {
|
||||
if (toLower DZE_UI == "vanilla") then {3 cutRsc ['playerStatusGUI','PLAIN',3];} else {3 cutRsc ['playerStatusGUI_epoch','PLAIN',3];};
|
||||
if (profileNamespace getVariable ["statusUI",1] == 1) then {
|
||||
3 cutRsc [if (toLower DZE_UI == "vanilla") then {"playerStatusGUI"} else {"playerStatusGUI_epoch"},"PLAIN",3]; // show the whole HUD
|
||||
} else {
|
||||
//This can be removed after friendlies system is removed from player_updateGUI
|
||||
uiNamespace setVariable ["DAYZ_GUI_display",displayNull];
|
||||
};
|
||||
_initDone = true;
|
||||
};
|
||||
//else {
|
||||
@@ -20,7 +25,7 @@ sched_gui = {
|
||||
dayz_surfaceNoise = _array select 1;
|
||||
dayz_surfaceType = _array select 0;
|
||||
call player_checkStealth;
|
||||
dayz_statusArray = call player_updateGui;
|
||||
call player_updateGui;
|
||||
};
|
||||
|
||||
// move this elsewhere, it deals with the menu
|
||||
|
||||
Reference in New Issue
Block a user