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 UI Core (HUD)
      • HUD
      • Modal Dialog
      • Modal Form
      • Progress Bar
      • Skill Check
    • Config
    • FAQ
    • Installation
    • Troubleshooting

On This Page

  • Request-type notifications
  • Integration with other resources
BS Advanced Notifications
Usage
Request Type

Request Type Use

Request-type notifications

  • Allow the player to accept/reject
  • Example:
local response = exports["bs-advnotifications"]:showNotify({
  type = "request",
  title = "Confirm action",
  description = "Do you want to continue?",
  duration = 14000
})
if response then
  -- accepted
else
  -- rejected
end

Integration with other resources

  • You can trigger request notifications from any script
ClientServer