#Notifications

6 messages · Page 1 of 1 (latest)

astral kiln
drowsy nebula
#

Very cool design @astral kiln

astral kiln
#

Thank you 4775pepepray

vast yacht
#

Hi i have installed this tonight and been trying to get it to work but not had much luck (i am fairly new to all this). i have tried to use an export on the qbcore.function.notify to use the aboe for all notifiactions but seem to be getting a QB-CORE script error: type 'function' is not supported by JSON?

meager abyss
#
function QBCore.Functions.Notify(text, texttype, length)
    if type(text) == "table" then
        local title = text.text
        local message = text.caption
        texttype = texttype or "info"
        length = length or 5000
        exports['ran-notification']:Notify(title, message, texttype, length)
    else
        texttype = texttype or 'info'
        length = length or 5000
        exports['ran-notification']:Notify(nil, text, texttype, length)
    end
end
astral kiln
#

Its very nice bro