DirkScripts Logo

Login With FiveM

Login

πŸ“š Dirk Lib
β€Ί
Modules
β€Ί
ui
β€Ί

Text UI

Text UI

lib.showTextUI

Show persistent text on screen (e.g. interaction prompts).

lua
lib.showTextUI('Press [E] to open', { position = 'bottom-center', icon = 'fa-door-open' })
ParameterTypeRequiredDescription
textstringyesText to display
optionstablenoposition and icon overrides

lib.updateTextUI

Update the text of the currently displayed text UI.

lua
lib.updateTextUI('Press [E] to close')

lib.hideTextUI

Hide the text UI.

lua
lib.hideTextUI()

lib.isTextUIOpen

Check if the text UI is currently visible.

lua
local open = lib.isTextUIOpen()

Copyright Β© 2026 DirkScripts.

Not affiliated with or endorsed by Rockstar North, Take-Two Interactive, or any other rights holders. FiveM is a copyright and registered trademark of Take-Two Interactive Software, Inc.
Our checkout system is provided by Tebex Limited, who manage payment processing, product delivery, and billing support. Prices shown in currencies other than GBP are approximate conversions updated daily. All purchases are processed in GBP, so the final amount charged may vary depending on your bank or payment provider’s exchange rate.