Vanguard Labs
  • Documentation
  • VANGUARD CORE
    • ๐Ÿ“ฆVanguard_Bridge
      • Dependencies
      • Installation
      • Configuration
      • Custom Notifications UI
      • Custom Context-Menu UI
  • ๐Ÿ“Scripts
    • ESX
      • ๐Ÿ’ผAdvanced Boss Menu
        • Config file
      • ๐Ÿ‘ฎโ€โ™‚๏ธAdvanced Police Job
        • Config file
      • ๐ŸŽ’Advanced Backpack
        • Config file
      • ๐Ÿš”Advanced K9 System
        • Config file
      • ๐Ÿš—Advanced Vehicle Inspection Job
        • Config file
      • ๐Ÿ’ŠAdvanced Drug Selling
        • Config file
      • ๐Ÿ’ŽMining System 3 IN 1
        • Config file
      • ๐ŸŽ…Christmas Gifts
        • Config file
      • ๐Ÿค˜Gang Actions
        • Config file
      • ๐ŸฉผCrutch System
        • Config file
      • ๐Ÿ’ณWallet System
        • Config file
      • ๐ŸŽ๏ธAdvanced Dealership
        • Config file
    • QBCore
      • ๐Ÿ’ผAdvanced Boss Menu
        • Config file
      • ๐Ÿ‘ฎโ€โ™‚๏ธAdvanced Police Job
        • Config file
      • ๐ŸŽ’Advanced Backpack
        • Config file
      • ๐Ÿ’ŠAdvanced Drug Selling
        • Config file
      • ๐Ÿš”Advanced K9 System
        • Config file
      • ๐Ÿš—Advanced Vehicle Inspection Job
        • Config file
      • ๐Ÿ’ŽMining System 3 IN 1
        • Config file
      • ๐ŸŽ…Christmas Gifts
        • Config file
      • ๐Ÿค˜Gang Actions
        • Config file
      • ๐ŸฉผCrutch System
        • Config file
      • ๐Ÿ’ณWallet System
        • Config file
      • ๐ŸŽ๏ธAdvanced Dealership
        • Config file
    • Free
      • ๐Ÿง[ESX/QBCORE] ATM Robbery
        • Config file
Powered by GitBook
On this page
  1. VANGUARD CORE
  2. Vanguard_Bridge

Custom Notifications UI

Customizing the notification system used in Vanguard products.

PreviousConfigurationNextCustom Context-Menu UI

Last updated 6 months ago

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' }

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

Vanguard.notifyserver(source, "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' }

๐Ÿ“ฆ