Skip to main content

Settings

Settings are attached to the script module and persist with the normal module config.
Supported constructors: bool, number, int, integer, text, mode, color, key, and multiMode. HUD element settings use the same constructors from the HUD handle returned by Hud.createElement. These settings appear with that HUD element and persist with its HUD config.
Setting wrappers support:

Commands

args.values contains raw command arguments. args.string(index, fallback) reads one-based raw arguments, and args.join(start, separator) joins raw arguments. Parameter types are string, int, integer, number, double, float, bool, and boolean. Add choices = { "a", "b" } for tab suggestions and validation.