Client

You can use these functions in any client side code to show custom notifications.


Parameters:

  • title?: string

Title of the notification

  • message?: string

Main message of the notification.

  • type?: string

Use any: "success", "error", "info", "warning"

  • duration?: number

Duration in milliseconds (ex: 5000)


exports.ft_notification:ShowNotify(message, type, duration)
exports.ft_notification:ShowNotifyWithTitle(title, message, type, duration)

Last updated