CAS-Notification

EXPORTS

exports['cas-notification']:addNotification(message, type, duration)

Events

RegisterServerEvent("notification:test")
AddEventHandler("notification:test", function(message, type, duration)
    local src = source
    TriggerClientEvent("cas-notification:addNotification", message, type, duration)
end)

TYPES

  • success

  • error

  • info

Duration

Time the message remains on the screen (in milliseconds)

Last updated