Functions

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

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 to add fingerprints
function Fingerprint(plyCoords)
    TriggerServerEvent("evidence:server:CreateFingerDrop", plyCoords)
end

-- Function to calling the cops
function CallingCops(plyCoords)
    -- exports['ps-dispatch']:SuspiciousActivity()
end

Last updated