ATY Scripts Logo
ATY Scripts/Docs/UI Kit/Text UI

Text UI

Here is an example of Aty Scripts - UI Kit's text ui system usage.

Text UI Usage Guide

Triggering a Text UI

To trigger a text ui, use the following function:

aty.openTextUi("E", "Vending", "Press to open the vending machine.", "green")

Text UI Parameters

Key

  • "E"
    The key of the text ui.
    Type: string

Title

  • "Vending"
    The title of the text ui.
    Type: string

Description

  • "Press to open the vending machine."
    Detailed instructions or information displayed within the text ui.
    Type: string

Color

  • "green"
    A color for the text ui that you think looks the best.
    Type: string
    Colors: green, blue, black, red

Closing a Text UI

aty.closeTextUi()
ATY Scripts LogoATY SCRIPTS

Crafting highly optimized FiveM scripts for QBCore & ESX. Maximum performance, precision code, zero lag.

Join Community

Partner

Official partners with Tebex. Secure checkout and Cfx.re Keymaster integration.

Legal

Not affiliated with Rockstar Games, Cfx.re, FiveM, or Take-Two Interactive. Purchases bound by Tebex Terms of Service.

© 2026 ATY SCRIPTS. All rights reserved.