These functions handle drawing and hiding styled on-screen prompts or UI overlays, compatible with different styling frameworks such as OX Lib.
Displays styled text or prompts on screen.
Designed to adapt styling depending on which UI system (e.g., OX) is in use.
Parameters:
image (string): Optional icon or image path.
image
string
input (string): The main text to display.
input
style (string|table): Preset or custom styling.
style
string|table
oxStyleTable (table, optional): Extended style options if using OX UI.
oxStyleTable
table
Example:
drawText("img_link", { "Test line 1", "Test Line 2" }, "~g~")
Hides any active text or UI element previously drawn with drawText().
drawText()
Last updated 8 months ago
hideText()