Quick Start
Functions
showText
showText
Display a text UI element to the player.Parameters:
data(table) - Text UI configuration object (see Options)
hideText
hideText
Hide the currently displayed text UI.
isOpen
isOpen
Check if a text UI is currently open.Returns:
isOpen(boolean) -trueif text UI is open,falseotherwisedisplayText(string | nil) - The currently displayed text, or nil if not open
Configuration
Options
Text UI title
Either
title, description, or options is requiredMain text content (supports markdown)
Either
title, description, or options is requiredText UI position on screenAvailable options:
'top-left', 'top-center', 'top-right', 'left-center', 'center', 'right-center', 'bottom-left', 'bottom-center', 'bottom-right'FontAwesome icon class
Icon color (hex or CSS color name)
Icon animation typeAvailable options:
'spin', 'spinPulse', 'spinReverse', 'pulse', 'beat', 'fade', 'beatFade', 'bounce', 'shake'Keybind text to display
Background color (hex or CSS color name)
Text color (hex or CSS color name)
Items
When using theoptions parameter, each item in the array supports:
Option label text (supports markdown)
FontAwesome icon class
Icon color (hex or CSS color name)
Inherits from main icon color if not specified
Icon animation typeAvailable options:
'spin', 'spinPulse', 'spinReverse', 'pulse', 'beat', 'fade', 'beatFade', 'bounce', 'shake'Keybind text for this option
Preview


