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.
12 lines
481 B
Plaintext
12 lines
481 B
Plaintext
// Logo watermark: adding a logo in the bottom left corner of the screen with the server name in it
|
|
[] spawn {
|
|
waitUntil {(!isNull Player) and (alive Player) and (player == player)};
|
|
waituntil {!(isNull (findDisplay 46))};
|
|
5 cutRsc ["wm_disp","PLAIN"];
|
|
((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName;
|
|
|
|
if (profileNamespace getVariable ["streamerMode",0] == 1) then {
|
|
(uiNamespace getVariable "wm_disp") displayCtrl 1 ctrlShow false;
|
|
};
|
|
};
|