[ESX] MS Notify

[ESX] MS Notify

This item is free.

Add to Basket

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 time

    • Plays 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

    • SendNotify and sendNotify (legacy)

    • ShowHelpNotify, HideHelpNotify, and alias HelpUI

  • Zero Cost

    • Completely free to use, no extra setup or dependencies

    • Automatically falls back as the notification system for all MS Scripts


Installation & Setup

  1. Copy Resource
    Place the ms_notify folder into your server’s resources directory.

  2. Enable Resource
    Add to your server.cfg:

    txtKopierenBearbeiten
    ensure ms_notify
  3. No 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!