DirkScripts Logo

Login With FiveM

Login

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

Utilities

Utilities

lib.showHelpNotification

Show a native GTA help notification (top-left black box).

lua
lib.showHelpNotification('Press ~INPUT_CONTEXT~ to interact')

lib.drawText3D

Draw floating text in the 3D world (must be called every frame).

lua
lib.drawText3D(x, y, z, scale, scale_factor, text)

lib.copyToClipboard

Copy a string to the player's clipboard.

lua
lib.copyToClipboard('Some text')

Open a URL in the player's browser.

lua
lib.openLink('https://example.com')

lib.getTheme

Get the current UI theme colours configured via convars.

lua
local theme = lib.getTheme()
-- theme.primaryColor, theme.secondaryColor, theme.logo

lib.testUIMode

Opens the built-in UI test bed (dev tool).

lua
lib.testUIMode()

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.