Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔔 Advanced Notification System

A lightweight and optimized notification system for FiveM using QBCore.

This script improves the default notifications with custom colors, clean UI triggers, and better control over message types.

It is inspired by the notification style of cx-hud https://cx-scripts.tebex.io/package/7444866


🖼️ Preview

Script Preview Script Preview Script Preview


⚙️ Features

  • Simple integration with QBCore
  • Custom notification types (success / error / warning)
  • Optimized performance
  • Easy to edit and expand
  • Compatible with most QBCore servers

📥 Installation

Replace QBCore Notify Function

Go to your QBCore core file:

qb-core/client/functions.lua

Then search for:

function QBCore.Functions.Notify

Replace the existing function with the following:

function QBCore.Functions.Notify(text, texttype, length, title)
    local color = 1

    if texttype == "error" then
        color = 2
    elseif texttype == "warning" then
        color = 3
    end

    TriggerEvent("notifications:sendNotification", color, text, length or 5000)
end


---

## 🎨 Notification Types

| Type    | Color  |
| ------- | ------ |
| success | Green  |
| error   | Red    |
| warning | Yellow |

## 🧠 Notes

Make sure the event notifications:sendNotification exists in your UI/HUD script.
This system works best with QBCore-based frameworks.
Inspired by cx-hud system.

## ⚠️ Important
Always backup your original qb-core file before editing.
Incorrect edits may break notifications in your server.

About

qb notify | cx-hud Inspired Notifications

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages