From d421349873d09f649215c0458467bc236feade61 Mon Sep 17 00:00:00 2001 From: inty Date: Tue, 6 Sep 2022 14:41:18 +0000 Subject: [PATCH] Settings - Fix _isGlobal data type in docs --- addons/settings/fnc_addSetting.sqf | 2 +- addons/settings/fnc_init.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/settings/fnc_addSetting.sqf b/addons/settings/fnc_addSetting.sqf index 7ba84c3fe9..11d45398f7 100644 --- a/addons/settings/fnc_addSetting.sqf +++ b/addons/settings/fnc_addSetting.sqf @@ -11,7 +11,7 @@ Parameters: _title - Display name or display name + tooltip (optional, default: same as setting name) _category - Category for the settings menu + optional sub-category _valueInfo - Extra properties of the setting depending of _settingType. See examples below - _isGlobal - 1: all clients share the same setting, 2: setting can't be overwritten (optional, default: 0) + _isGlobal - 1: all clients share the same setting, 2: setting can't be overwritten (optional, default: 0) _script - Script to execute when setting is changed. (optional) _needRestart - Setting will be marked as needing mission restart after being changed. (optional, default false) diff --git a/addons/settings/fnc_init.sqf b/addons/settings/fnc_init.sqf index 6abe3c5f4b..173b9aeb6c 100644 --- a/addons/settings/fnc_init.sqf +++ b/addons/settings/fnc_init.sqf @@ -11,7 +11,7 @@ Parameters: _title - Display name or display name + tooltip (optional, default: same as setting name) _category - Category for the settings menu + optional sub-category _valueInfo - Extra properties of the setting depending of _settingType. See examples below - _isGlobal - 1: all clients share the same setting, 2: setting can't be overwritten (optional, default: 0) + _isGlobal - 1: all clients share the same setting, 2: setting can't be overwritten (optional, default: 0) _script - Script to execute when setting is changed. (optional) _needRestart - Setting will be marked as needing mission restart after being changed. (optional, default false)