DirkScripts Logo

Login With FiveM

Login

πŸ–₯️ Dirk Core
β€Ί
Functions
β€Ί
Client
β€Ί

πŸ“Ί UI

πŸ“Ί UI

Notify

This will just use the generic frameworks notification system you could add more here too in the files if you know how

lua
Core.UI.Notify("My Notification")

SimpleNotify

This is my take on simple notifications if you want to use this you can

lua
Core.UI.SimpleNotification({
  ID      = "thisNotif",
  Title   = "Test Notification",
  Message = "This is a test notification",
  Icon    = "fa-solid fa-user-friends",   --## 
  Time    = 5,                            --## If no Time then it will never remove
  NoTimer = true,                         --## Remove the timer at the bottom
})

Event

lua
TriggerEvent("Dirk-Core:UI:SimpleNotify", { --## Can also be TriggerClientEvent from server side too obviously
  ID      = "thisNotif",
  Title   = "Test Notification",
  Message = "This is a test notification",
  Icon    = "fa-solid fa-user-friends",   --## 
  Time    = 5,                            --## If no Time then it will never remove
  NoTimer = true,                         --## Remove the timer at the bottom
})

ShowHelpNotification

Basics boring ShowHelpNotification you see in normal Grand Theft Auto

lua
while true do
  Core.UI.ShowHelpNotification("This is what I want to display") 
  Wait(0)
end

AdvancedHelpNotif

My take on ShowHelpNotif

lua
while true do 
  Core.UI.AdvancedHelpNotif("plantID", {
    {
      label = "Place",
      key   = "g",
    },
    {
      label = "Cancel",
      key   = "f",
    },
  })
  Wait(0)
end

ProgressBar

--## Supports ox_lib and progressBars
Core.UI.ProgressBar({
  time  = 5000, 
  label =  "Test Progress",
  usewhileDead = false, 
  canCancel = false, 
  disableControl = true, 
}, function(complete)
  print('Complete ', complete) --## Prints true if bar complete or false if cancelled
end)

KeyCode

lua
local correct = Core.UI.KeyCode(1234) --## Can be as long a number as you wish

CopyToClipboard

lua
Core.UI.CopyToClipboard("What I want to copy to my clipboard")
lua
Core.UI.OpenLink("www.google.com") --## Will open this link in the clients browser

PlotPoints

stylus
local points = Core.Game.PlotPoints()
print(json.encode(points))

--## This will return a table points you have selected via the in-game prompts.

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.

Daily dig available!

Hey you, you have free digs waiting

Dig Now