menu.is_visible():
bool
Detects whether the menu is open (returns true if open)
menu.get_menu_pos():
c_vector2d
Detect menu position
menu.get_menu_size():
c_vector2d
return menu size
menu.get_uid():
int
menu.get_username():
string
menu.get(int index):
c_lua_menu_item
menu.add_separator(std::string text):
int
menu.add_text(std::string text):
int
menu.add_slider(std::string name, float default_value, float min, float max):
int
menu.add_combo(std::string name, int default_value, std::string items)
int
menu.add_keybind(std::string name, int default_button, int mode, int keybind_options):
int
menu.add_flex_checkbox(std::string name, int default_button, int mode):
int
menu.add_colorpicker(std::string name, float default_r, float default_g, float default_b, float default_a, bool alpha_slider):
int
menu.add_second_colorpicker(std::string name, float default_r, float default_g, float default_b, float default_a, bool alpha_slider):
int
menu.add_multiselection(std::string name, std::string items):
int
menu.add_text_input_box(std::string name, std::string default_text):
int
menu.add_button_callback(std::string name, protected_function function):
int