origen_police

origen_police/custom/client/menu.lua

function ShowNotification(msg)
    if not Config.CustomNotify then
        if Config.Framework == "qbcore" then
            exports['reaver_notify']:reaver_notify_showNotification(msg, "primary", 4000)
           -- Framework.Functions.Notify(msg, "primary")
        elseif Config.Framework == "esx" then
            Framework.ShowNotification(msg)
        end
        return
    end
    -- Put your code here if you want to use a custom notification
end

Última actualización