-----------------For support, scripts, and more---------------- --------------- https://discord.gg/wasabiscripts ------------- --------------------------------------------------------------- -- Checking for if Complete UI Kit is running -- Get it here: https://wasabiscripts.com/product/7037645 local wasabi_uikit, uikitFound = GetResourceState('wasabi_uikit'), false if wasabi_uikit == 'started' or wasabi_uikit == 'starting' then uikitFound = true end -- Customize this to customize notifications accross all Wasabi Scripts -- Notifications function WSB.showNotification(title, desc, style, icon, id) local QBCore = exports['qb-core']:GetCoreObject() local message = desc and (title .. ' - ' .. desc) or title local notifyType = style or 'primary' QBCore.Functions.Notify(message, notifyType) end RegisterNetEvent('wasabi_bridge:notify', function(title, desc, style, icon, id) return WSB.showNotification(title, desc, style, icon, id) end) exports('showNotification', WSB.showNotification) -- Export for use in other scripts