Exports
Notification exports
Client side exports:
Notify
Types:
success
error
warning
announcement
server
notifyExample = {
type = "success",
message = '<div><span class="text-primary font-[700]">Welcome back</span> in the city!</div>',
duration = 3000,
}
exports['thescriptname']:SendNotify(notifyExample)Show Task
local policeTasks = {
{
text = '<div><span class="text-primary font-[700]">Go</span> to the <span class="text-primary font-[700]">Police station!</span></div>',
completed = false,
},
{
text = '<div><span class="text-primary font-[700]">Collect</span> all paper!</div>',
completed = false,
},
{
text = '<div><span class="text-primary font-[700]">Go </span> back to <span class="text-primary font-[700]">Legion Square!</span></div>',
completed = false,
},
}
local taskExample = {
title = 'Police Evidance',
tasks = policeTasks,
active = true
}
exports['thescriptname']:ShowTask(taskExample)Update Task
Delete Task
TextUI
Progressbar
Last updated
Was this helpful?