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