Custom Notifications UI
Customizing the notification system used in Vanguard products.
Last updated
Customizing the notification system used in Vanguard products.
Last updated
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"
shared_scripts { '@Vanguard_Bridge/imports.lua' }