Functions

local QBCore = exports[Config.CoreName]:GetCoreObject()

-- Function of the notify's
function Notify(msg, type, time)
    if type == "primary" then 
        QBCore.Functions.Notify(msg, "primary", time)
    end
    if type == "success" then
        QBCore.Functions.Notify(msg, "success", time)
    end
    if type == "error" then
        QBCore.Functions.Notify(msg, "error", time)
    end
end
-- Function of the call cops
function CallCops()
    exports['ps-dispatch']:VangelicoRobbery()
end

Last updated