π’Madonne Notify
Madonne Notify is a lightweight notification system designed specifically for FiveM servers. Whether you're building a roleplay, freeroam, or custom game mode server, Madonne Notify provides a sleek and modern way to send real-time in-game notifications to your players.
Key Features:
π Clean and modern UI notifications
βοΈ Easy-to-use client and server-side exports
π Lightweight and optimized for performance
π§© Compatible with any framework (ESX, QBCore, standalone)
How does the script work ?
Madonne Notify uses a simple and efficient client-server architecture to send in-game notifications directly to players. You can trigger notifications from either the server or the client using the provided Notify
function.
π¦ Server-Side Usage
To send a notification from the server to a specific player:
-- Parameters: targetPlayer, type, title, message, duration, sound
exports['MS_Madonne_Notify']:Notify(targetPlayer, "success", "Mission Complete", "You earned $500!", 5000, true)
π» Client-Side Usage
To display a notification locally on the client:
-- Parameters: type, title, message, duration, sound
exports['MS_Madonne_Notify']:Notify("error", "Access Denied", "You do not have permission to do this.", 4000, true)
π¨ Notification Types & Styles
Each notification type applies a distinct style based on its category:
warning
Orange border and background
info
, progress
, announce
Blue border and background
success
, achievement
Green border and background
msg
, system
, radio
, vehicle
Gray border, neutral style
π Optional Sound
By setting sound = true
, a frontend UI sound (COLLECTED
from HUD_AWARDS
) plays when the notification appears, adding feedback for critical or rewarding messages.
Last updated
Was this helpful?