SD-Notify


Next Generation Notification System

Notify

Simple Notification

exports['sd-notify']:Notify(title, message, time, type, position, hideprogressbar, sound)
  • title: string
  • message: string
  • time: number
  • type: Types
  • position?: Position
  • hideprogressbar?: boolean
  • sound?: boolean

returns: string

Promise

Notification That Can Be Updated

exports['sd-notify']:Promise(title, message, type, position, sound)
  • title: string
  • message: string
  • type: Types
  • position?: Position
  • sound?: boolean

returns: string

Update

Update A Promise Notification

exports['sd-notify']:Update(id, title, message, time, type, position, hideprogressbar, sound)
  • title: string
  • message: string
  • time: number
  • type: Types
  • position?: Position
  • hideprogressbar?: boolean
  • sound?: boolean

returns: string

Remove All

Remove All Notifications On Screen

exports['sd-notify']:RemoveAll()

Remove

Remove An Specific Notification

exports['sd-notify']:Remove(id)
  • id: string