thesevenq / notifications

NoPixel 4.0 Inspired Notifications
30 stars 14 forks source link

Exports Event:

QBCore Notify: At line 83 in qb-core > client > function.lua > Line 83 Replace until Line 106

function QBCore.Functions.Notify(text, texttype, length) if type(text) == "table" then local ttext = text.text or 'Placeholder' local caption = text.caption or 'Placeholder' texttype = texttype or 'primary' length = length or 5000 exports['notifications']:sendnotify(ttext, texttype, length, caption) else texttype = texttype or 'primary' length = length or 5000 exports['notifications']:sendnotify(text, texttype, length) end end

Colors:

Preview

image