mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update ui_changeDisplay.sqf
This commit is contained in:
@@ -1,7 +1,13 @@
|
|||||||
disableSerialization;
|
disableSerialization;
|
||||||
|
|
||||||
if (profileNamespace getVariable ["statusUI",1] == 1) then {
|
if (profileNamespace getVariable ["statusUI",1] == 1) then {
|
||||||
3 cutRsc [if (toLower DZE_UI == "vanilla") then {"playerStatusGUI"} else {"playerStatusGUI_epoch"},"PLAIN",0];
|
private "_style";
|
||||||
|
_style = call {
|
||||||
|
if (toLower DZE_UI == "vanilla") exitWith {"playerStatusGUI"};
|
||||||
|
if (toLower DZE_UI in ["whiteborders","greenborders"]) exitWith {"playerStatusGUI_legacy"};
|
||||||
|
"playerStatusGUI_epoch"; // default
|
||||||
|
};
|
||||||
|
3 cutRsc [_style,"PLAIN",0];
|
||||||
call player_updateGui;
|
call player_updateGui;
|
||||||
call ui_initDisplay;
|
call ui_initDisplay;
|
||||||
hintSilent "";
|
hintSilent "";
|
||||||
|
|||||||
Reference in New Issue
Block a user