[Setting] setting = client.setting.addInt(name, variableName, minimum, maximum)


Adds an integer slider in the UI

Parameters


name

string

The name of the setting in the UI

variableName

string

The name of the global variable that contains the setting value

minimum

integer

The minimum value of this setting

maximum

integer

The maximum value of this setting

Return Value


setting

Setting

The setting that was added