๐ฅ๏ธgui
Usage:
gui.{func_or_field}
This table exposes the GUI system of the software.
All types and enums described in the child sections must be prefixed with gui..
ctx๏ปฟ
Field
Type: Context
GUI context.
notify๏ปฟ
Field
Type: NotificationSystem
Notification system.
input๏ปฟ
Field
Type: ContextInput
Input context.
MakeControl
Function
Wraps a control into a layout consisting of a label and that specific control. You should add this new control to groupboxes if you want your control to be displayed nicely. Additionally, you can add any extra controls to the returned one - those will get stacked to the left side of your initial control.
Arguments
Returns
Type
Description
Layout object.
Example
MakeControlEasy
Function
A quick wrapper for MakeControl , returns both the menu element and control.
Available types are:
Arguments
Name
Type
Description
id
string
ID.
label
string
Label value.
type
string
The type of this control
...
any...
Extra constructor arguments
Returns
Example
MakeStackedGroups
Function
Creates a vertical stack with two or more group boxes.
Arguments
Returns
Type
Description
Group stack object.
Example
IsVisible
Function
Returns whether or not the menu is currently open.
Returns
Type
Description
boolean
If menu is visible or not
Example
GetActiveOverridePath
Function
Returns the current ragebot/legitbot weapon or category path.
Should only be called when you're alive, causes undefined behavior otherwise.
Arguments
None.
Returns
string
The path currently being used by the ragebot or legitbot
Example
GetMainWindow
Function
Returns the menu's main window.
Arguments
None.
Returns
The window object.
Example
GetHotkeyList
Function
Returns list of all controls with hotkeys currently added.
Arguments
None.
Returns
table<Control>
All controls currently with keybinds set
Example
GetThemeColors
Function
Returns list of all colors being used the GUI theme.
Available keys are
Arguments
None.
Returns
table<Color>
All menu colors
Example
Last updated