#include "..\script_component.hpp"

//---------------------
//	Side Chat
//---------------------

[
	QGVARMAIN(sideChat),
	"CHECKBOX",
	"Side Chat Text Enabled",
	[QUOTE(SETTINGS_GROUP_NAME), QUOTE(COMPONENT_BEAUTIFIED)],
	false, // default value
	true, // requires restart
	{
		params ["_value"];
		[
			QGVARMAIN(sideChat),
			_value
		] call EFUNC(common,logSettingChanged);
	}
] call CBA_fnc_addSetting;

[QGVARMAIN(sideChat), false] call CBA_settings_fnc_set;

diag_log text "[MILSIM] (settings) Custom CBA settings initialized";

nil;