mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add files via upload
This commit is contained in:
@@ -4,23 +4,23 @@ sched_gui_init = { [false] };
|
|||||||
|
|
||||||
sched_gui = {
|
sched_gui = {
|
||||||
HIDE_FSM_VARS
|
HIDE_FSM_VARS
|
||||||
private [ "_array", "_initDone", "_style"];
|
private [ "_array", "_initDone", "_ui"];
|
||||||
|
|
||||||
_initDone = _this select 0;
|
_initDone = _this select 0;
|
||||||
|
|
||||||
if ((!_initDone and !isNil 'Dayz_loginCompleted') and {(Dayz_loginCompleted)}) then {
|
if ((!_initDone and !isNil 'Dayz_loginCompleted') and {(Dayz_loginCompleted)}) then {
|
||||||
if (profileNamespace getVariable ["statusUI",1] == 1) then {
|
if !(DZE_UI == 0) then {
|
||||||
_style = call {
|
_ui = call {
|
||||||
if (toLower DZE_UI == "vanilla") exitWith {"playerStatusGUI";};
|
if (DZE_UI == 1) exitWith {"playerStatusGUI"};
|
||||||
if (toLower DZE_UI in ["whiteborders","greenborders"]) exitWith {"playerStatusGUI_legacy";};
|
if (DZE_UI == 2) exitWith {"playerStatusGUI_epoch"};
|
||||||
"playerStatusGUI_epoch"; // default
|
"playerStatusGUI_legacy";
|
||||||
};
|
};
|
||||||
3 cutRsc [_style,"PLAIN",3]; // show the whole HUD
|
3 cutRsc [_ui,"PLAIN",0];
|
||||||
} else {
|
} else {
|
||||||
[] spawn {uiSleep 2; systemChat (localize "STR_UI_STATUS_ICONS_TOOLTIP");};
|
[] spawn {uiSleep 2; systemChat (localize "STR_UI_STATUS_ICONS_TOOLTIP");};
|
||||||
//This can be removed after friendlies system is removed from player_updateGUI
|
//This can be removed after friendlies system is removed from player_updateGUI
|
||||||
uiNamespace setVariable ["DAYZ_GUI_display",displayNull];
|
uiNamespace setVariable ["DAYZ_GUI_display",displayNull];
|
||||||
};
|
};
|
||||||
_initDone = true;
|
_initDone = true;
|
||||||
};
|
};
|
||||||
//else {
|
//else {
|
||||||
|
|||||||
Reference in New Issue
Block a user