mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
The chat list does not appear to be toggleable on the fly because it is a display with no accessible controls. Giving it an idd and using closeDisplay did not work. So it needs to be manually set off screen in its config or covered up.
15 lines
398 B
Plaintext
15 lines
398 B
Plaintext
private "_display";
|
|
disableSerialization;
|
|
_display = uiNamespace getVariable ["wm_disp",displayNull];
|
|
|
|
if (!isNull _display) then {
|
|
if (profileNamespace getVariable ["streamerMode",0] == 1) then {
|
|
_display displayCtrl 1 ctrlShow false;
|
|
if (!isNil "dayz_rulesHandle") then {
|
|
terminate dayz_rulesHandle;
|
|
dayz_rulesHandle = nil;
|
|
};
|
|
} else {
|
|
_display displayCtrl 1 ctrlShow true;
|
|
};
|
|
}; |