[Setting] setting = client.setting.addInt(name, variableName, minimum, maximum)
Adds an integer slider in the UI
Parameters
name
stringThe name of the setting in the UI
variableName
stringThe name of the global variable that contains the setting value
minimum
integerThe minimum value of this setting
maximum
integerThe maximum value of this setting
Return Value
setting
SettingThe setting that was added