Custom Notifications UI

Customizing the notification system used in Vanguard products.

Customize Notifications

Hereโ€™s a legend explaining the parameters:

  • Title: Notification title

  • Description: Notification message or content

  • Time: Duration in milliseconds (e.g., 5000 = 5 seconds)

  • Type: Notification type (e.g., success, error, info, warning, mining)


If you want to use the notification system on the client-side, follow the example code below.

Vanguard.notifyclient("Notify  Title", "This is a test.", 3000, "info"); 

Notification types currently available (more will be added).

 \\"Success"
 \\ "Error" 
 \\ "Info" 
 \\ "Warning" 
 \\ "Mining" 

Note: To work, it is necessary to add the following to the fxmanifest. (Also you need to choice vanguard_notify on notify settings in the bridge.)

shared_scripts { '@Vanguard_Bridge/imports.lua' }

Last updated