Brusie Studio
DiscordDiscord (opens in a new tab)
  • Introduction
  • BS Business Tablet
    • Configuration
      • Exports
      • Exports
  • BS Loading Screen
  • BS Notifications
    • Config
  • BS Advanced Notifications
      • Client
      • Request Type
      • Server
    • Changelogs
    • Configuration
      • Locales (Translations)
      • Notification Sounds
      • Types & Colors
      • User Settings
    • FAQ
    • Installation
    • Troubleshooting
  • BS Road Maintenance Multiplayer Job
    • Configuration
      • Base Configuration
      • Job & Lobby Configuration
      • Levels & Progression
      • Tasks & Minigames
    • FAQ
    • Installation
    • Troubleshooting
  • BS Crime Scene Cleaner Multiplayer Job
    • Configuration
      • Client Configuration
      • Server Configuration
      • Shared Configuration
    • FAQ
    • Installation
    • Troubleshooting
  • BS Oil Field Multiplayer Job
    • Installation
    • Configuration
      • Shared Configuration
      • Client Configuration
      • Server Configuration
    • Tasks & Minigames
    • In-Game Management
    • FAQ
    • Troubleshooting
  • BS UI Core (HUD)
      • HUD
      • Modal Dialog
      • Modal Form
      • Progress Bar
      • Skill Check
    • Config
    • FAQ
    • Installation
    • Troubleshooting

On This Page

  • Trigger notification
  • Parameters
BS Advanced Notifications
Usage
Client

Client Side Use

Trigger notification

exports["bs-advnotifications"]:showNotify({
  title = "Example title",
  description = "Example description",
  duration = 7000,
  type = "success",
})

Parameters

  • title – notification title
  • description – description
  • duration? – duration (ms)
    • default: 5000
  • showDuration? – whether to show the time bar
    • default: true
  • position? – position
    • default: the one selected by the player in their settings
  • type? – notification type
    • default: info
BS Advanced NotificationsRequest Type