Teedle Scripts Documentation

Custom Notifications

How notification behavior is handled across Teedle Scripts resources.

Custom Notifications

Teedle Scripts resources are designed to support clean notification behavior through a shared wrapper or resource-specific customization file.

Example Wrapper

client_customizeme.lua
function TeedleNotify(message, notifyType, length)
    notifyType = notifyType or 'primary'
    length = length or 5000

    if GetResourceState('qb-core') == 'started' then
        TriggerEvent('QBCore:Notify', message, notifyType, length)
        return
    end

    TriggerEvent('chat:addMessage', {
        args = { 'Teedle Scripts', message }
    })
end
Next Common Issues & Fixes

Last updated May 24, 2026