πŸ‘·β€β™‚οΈInstallation NOTIFY SYSTEM

πŸ› οΈ Installation Guide – Syntax Notify πŸš€

Follow these simple steps to integrate Syntax Notify into your FiveM server and start sending custom notifications.

πŸ“Œ 1. Script Installation

1️⃣ Download the script and add it to your server's resources folder. πŸ“‚ 2️⃣ Add it to your server.cfg with the following line:

ensure Syntax_Notify

3️⃣ Restart your server or use refresh and start Syntax_Notify in the console.

🎯 2. Client-side Usage

To display a notification from any client-side script, use this function:

exports['Syntax_Notify']:Alert("TITLE", "Text <span style='color:#1c77ff'>HIGHLIGHTED TEXT</span>!", time, 'type')

πŸ“Œ Parameter Explanation:

  • "TITLE" β†’ Notification title.

  • "Text <span style='color:#1c77ff'>HIGHLIGHTED TEXT</span>!" β†’ Message content, with the option to highlight text using HTML.

  • time β†’ Duration in milliseconds.

  • 'type' β†’ Notification type (success, info, error, warning, sms, long).

πŸ–₯️ 3. Server-side Usage

If you need to send a notification from the server, use this function in server.lua:

πŸ“Œ Example usage in an event:

βœ… Done! Now your players will receive custom notifications with a modern and professional design!

πŸ“© Questions or support? Contact us! πŸš€

Last updated