Clean • Smooth • Fully Customizable
A free modern notification system for your FiveM server!
Key Features:
Lightweight UI, displays at the top-right corner.
Supports multiple types: success ✅,error ❌,info ℹ️,warning ⚠️.
Auto-dismiss after a custom duration.
Customizable: colors, icons, text, and display time.
Easily integrated into any client-side resource.
How to Use:
Client.lua
TriggerEvent("tNotif:show", {
type = "information", -- "information" | "success" | "error"
title = "Thông báo",
message = "Đây là nội dung thông báo.",
duration = 6, -- thời gian hiển thị (giây)
buttons = {
{ label = "Đồng ý", id = "ok", data = "ok_data" },
{ label = "Đóng", id = "close", data = "close" }
}
})
Server.lua
TriggerClientEvent("tNotif:show", source, {
type = "success",
title = "Chúc mừng!",
message = "Bạn đã hoàn thành nhiệm vụ!",
duration = 7,
buttons = {
{ label = "Xem chi tiết", id = "view", data = "https://example.com/" },
{ label = "Đóng", id = "close", data = "close" }
}
})
Installation:
- Place the
tom_notifresource into yourresourcesfolder. - Add this line to your
server.cfg:
ruby
CopyEdit
ensure tom_notif
- Trigger the
vNotif:showevent from any script.
Preview:
Download:
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | ~550 Lines |
| Requirements | None |
| Support | Yes |

