🤠
KOJA DOCS
  • Home
  • Store
  • Discord
  • lib
    • Client
  • NEW
    • 🚗Cardealer
      • Installation
      • Configuration
        • Creating a Cardealer
        • Changing Language
        • Creating a webhook for logging
    • 🎁Daily Rewards
      • Installation
      • Configuration
        • đŸ‡ĩ🇱Changing Language
        • đŸ›Ąī¸Debug Prints
        • đŸšĒOpen Commands
        • 🛒Shop Link
        • âœī¸Theme
        • đŸ–Ĩī¸Auto Table
        • 🎁Rewards
        • đŸŽŸī¸Missions
        • 📔Promocodes
      • Guides
        • âœˆī¸Creating/Editing Locales
        • đŸ”ĢManaging Missions
        • 💎Setting Premium Status
    • 📊Hud
      • Installation
      • Configuration
        • đŸ‡ĩ🇱Changing Language
        • đŸ›Ąī¸Debug Prints
        • đŸšĒSettings Command
        • đŸ—ēī¸Hide Minimap
        • đŸ—’ī¸Notifications
        • đŸŽī¸Nitro
        • âš™ī¸Engine
        • đŸ’ēSeatbelt
        • 🤖Cruisemode
      • Guides
        • âœˆī¸Creating/Editing Locales
        • 🔗Progressbar
        • â„šī¸TextUI
    • đŸ”ĢShop Heist
      • Installation
      • Configuration
        • đŸ‡ĩ🇱Changing Language
        • 👮Required Police To Start Heist
  • 🛒Shops
    • Installation
    • Configuration
      • đŸ‡ĩ🇱Changing Language
      • đŸŽ¯Target
      • đŸ›ī¸Adding new shop
      • 🚗Server side exports
      • 📃SQL
    • Guides
      • âœˆī¸Creating/Editing Locales
  • 📜Dialogs
    • Installation
    • Configuration
      • đŸ‡ĩ🇱Changing Language
      • đŸŽ¯Target
      • 📃Create Dialog
      • 🎹Available Keys
      • 🌀Default Images
  • OLD
    • 🎓Jobselector [FREE]
      • 📕Step By Step Guide
      • âš™ī¸Server
    • đŸ› ī¸Crafting [FREE]
      • 📕Step By Step Guide
      • 👇Client
      • 👆Server
Powered by GitBook
On this page
  1. NEW
  2. Hud
  3. Guides

TextUI

Function TextUI(data)

Displays the text-based UI.

Parameters:

  • data.input (string): The activation key (e.g., "E").

  • data.type (string): The type of interaction (e.g., "press" or "hold").

  • data.desc (string): The description displayed in the UI.


Function HideUI()

Hides the text-based UI.


Exports

The module exports two functions that can be used in other scripts:

  • exports["script_name"]:TextUI(data)

  • exports["script_name"]:HideUI()


Example Usage

exports["KOJA_HUD"]:TextUI({
    input = "E",
    type = "press",
    desc = "Open door"
})
exports["script_name"]:HideUI()
PreviousProgressbarNextShop Heist

Last updated 3 months ago

📊
â„šī¸