Scripts
Notification System
Events
Trigger Notification

Trigger Notification

To trigger a notification using this event, you must already have a notification created.

Via Client

TriggerEvent("fiveasy-notify", "your notification name", { duration = 8000 })

Via Server

TriggerClientEvent("fiveasy-notify", source, "your notification name", { duration = 8000 })

Triggering with Variables

TriggerEvent("fiveasy-notify", "your notification name", {
  duration = 8000,
  titleVariables = { key = value },
  messageVariables = { key = value }
})