BS Business Tablet
Notify Data
- id?: string
- title: string
- description: string
- duration?: number
- Default: 5000
- In ms
- showDuration?: boolean
- Default: true
- position?: string
- Default: "top-right"
- "top-left", "top-center", "top-right", "bottom-left", "bottom-center", "bottom-right"
- type?: string
- Default: "info"
Client Side Use
exports["bs-notifications"]:showNotify({
title = "Example title",
description = "Example description",
duration = 7000,
showDuration = true,
position = "top-left",
type = "success",
})
Server Side Use
TriggerClientEvent("bs-notifications:client:showNotify", {
title = "Example title",
description = "Example description",
duration = 7000,
showDuration = true,
position = "top-left",
type = "success",
})