🔧Installation Notify
This page explains how to integrate the 'Sweepz_Ui_Elements' script's notification system into other systems.
File Location: qb-core/client/functions.lua
Line Number: 171
function QBCore.Functions.Notify(text, texttype, length)
texttype = texttype or 'info'
length = length or 5000
if type(text) == 'table' then
local ttext = text.text or ''
local caption = text.caption or ''
TriggerEvent('Sweepz_Ui_Elements:SendAlert', caption, ttext, length, texttype)
return
end
TriggerEvent('Sweepz_Ui_Elements:SendAlert', 'Notification', text, length, texttype)
end
Last updated