Server
You can use these functions in any server side code to show custom notifications.
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)
Displays a notification with an auto-generated title based on type.
TriggerClientEvent('ft_notification:ShowNotify', source, message, type, duration)
Displays a notification with a custom title and message.
TriggerClientEvent('ft_notification:ShowNotifyWithTitle', source, title, message, type, duration)
Last updated