Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 356 Bytes

customNotifyFn.md

File metadata and controls

16 lines (13 loc) · 356 Bytes

Custom Notification Function

Change the notification system

local scully_emotemenu = exports.scully_emotemenu

local function customEmoteNotification(_type, text)
    if _type == 'error' then
        print('^1ERROR: ' .. text)
    else
        print('^2SUCCESS: ' .. text)
    end
end

scully_emotemenu:customNotifyFn(customEmoteNotification)