text_t

local text = menu.add_text("group", "name")

set_visible

sets whether this control is visible

void set_visible(<bool> is_visible)

Example

text:set_visible(true)

add_color_picker

adds a color picker sub control

color_picker_t add_color_picker(<string> name, [optional] <color_t> default_color, [optional] <bool> has_alpha)

Example

local colly = text:add_color_picker("bruh color")

add_keybind

adds a keybind sub control

keybind_t add_keybind(<string> name, [optional] <int> default_key)

Example

local keybind = text:add_keybind("bruh key")

Last updated