CreativeTeam
DiscordTebex
  • 🏠Home
    • 👥About Us
    • cT-Interface
      • Config
      • Exports
        • Notify
        • TextUI
    • cT-Menu
      • Config
      • Example
Con tecnología de GitBook
En esta página
  1. Home
  2. cT-Interface
  3. Exports

Notify

AnteriorExportsSiguienteTextUI

Última actualización hace 11 meses

exports['cT-Interface']:Notify(text, type) 
A command for test.
local Array  = {
    {text = "This is a primary notification", type = "primary"},
    {text = "This is a info notification", type = "info"},
    {text = "This is a success notification", type = "success"},
    {text = "This is a error notification", type = "error"},
    {text = "This is a warn notification", type = "warn"},
}

RegisterCommand('TestNotify', function() 
    for i, v in pairs(Array) do
        exports['cT-Interface']:Notify(v.text, v.type)
    end
end)
🏠
This is a 'primary' type.
This is a 'info' type.
this is a 'success' type.
This is a 'error' type.
This is a 'warn' type.