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.
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: type, title, message, duration, soundexports['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:
Type
Style Preview
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.