thesevenq / notifications

NoPixel 4.0 Inspired Notifications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exports Event:

  • exports['notifications']:sendnotify('Hello World!', 2, 5000)

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:

  • Normal: 1
  • Error: 2
  • Warning: 3

Preview

image

About

NoPixel 4.0 Inspired Notifications


Languages

Language:JavaScript 76.3%Language:CSS 16.9%Language:Lua 3.4%Language:HTML 3.4%