MS Notify – Universal Notification System
MS Notify is a free, lightweight notification resource designed as the default for all MS Scripts. It provides two types of notifications—standard and 3D help prompts—via simple exports so your scripts can display messages out of the box without any external HUD.
Key Features
Standard Notifications
SendNotify(type, title, text, duration)Supports custom types (e.g.
"info","success","error"), titles, message text, and display timePlays a frontend sound on show
3D Help Prompts
ShowHelpNotify(message, key)Renders a floating help message above the player with an optional key highlight (default
"E")HideHelpNotify()removes the prompt
Export Compatibility
SendNotifyandsendNotify(legacy)ShowHelpNotify,HideHelpNotify, and aliasHelpUI
Zero Cost
Completely free to use, no extra setup or dependencies
Automatically falls back as the notification system for all MS Scripts
Installation & Setup
Copy Resource
Place thems_notifyfolder into your server’sresourcesdirectory.Enable Resource
Add to yourserver.cfg:txtKopierenBearbeitenensure ms_notifyNo Configuration Required
Out of the box, MS Notify is ready to handle all notification calls.
Usage Examples
Standard Notification
luaKopierenBearbeiten-- Display an information popup for 5 seconds
exports['ms_notify']:SendNotify(
"info",
"Workshop",
"Vehicle tuning complete.",
5000
)
Help Prompt
luaKopierenBearbeiten-- Show a help prompt with the default key [E]
exports['ms_notify']:ShowHelpNotify(
"Press E to access the tuning menu."
)
Remove Help Prompt
luaKopierenBearbeiten-- Hide the current help prompt
exports['ms_notify']:HideHelpNotify()
Legacy & Alias Support
luaKopierenBearbeiten-- Legacy export name
exports['ms_notify']:sendNotify("success", "Payment", "Invoice paid.", 3000)
-- Alternative help export
exports['ms_notify']:HelpUI("Use /repair [id] to fix a vehicle.")
MS Notify ensures consistent, easy-to-use notifications across all your MS Script integrations—no extra HUD needed!