[FREE] Report System | CODEV Report [QBCore & ESX]

Codev Report

Features

Admin system
Bring and goto for admins
Realtime notifications for admins
See who is assisting the report

Config

Downloads

Github

Other Resource

Multi Character
NPC Interaction
Notification
Blackmarket
Banking

Code is accessible Yes
Subscription-based No
Lines (approximately) ~500
Requirements QBCore or ESX
Support 100% Support 15h/day
22 Likes

fantastic work

1 Like

really nice. maybe we update it to work with discord group id’s?

1 Like

It is a open source development resource, you can make any changes you want! :sparkling_heart:
And you can always contribute to github repo if you want.

2 Likes

make a standalone version too

1 Like

Can you teach on how to put the notification working?

Thanks

3 Likes

i have a error on line 10 and on line 86 codev-report-main/client/client.lua:10 attemp to index a nil value field cartinfo

Hello!
When i type /report, report system not open :S

hello man
you can translate the menus?

hello, you can translate through javascript and html files.

Can u imagine video records on this? Bufff.

very clean

Very nice script!

But how can I change the goto function to set a waypoint instead of teleport?

can’t it be happens that we don’t need and identifier to put and works with ingame groups?

Does not work for OKOK Notify copied what u put into the config and just throws up errors and discord link does not work

If you want to use this script and have it notify you with origen_notify, you can do the following:


ORIGINAL SETUP:

    Notification = function(title, message, msgType, length)
        -- Your notification here
    end

ADJUSTMENT FOR THE origen_notify SCRIPT:

    -- Notification system will be initialized after QBCore is ready
    Notification = function(title, message, msgType, length)
        if not message then return end
        
        -- If it's a help notification (starts with [key])
        if string.find(message, "^%[.%].+") then
            if not Config.noty_buffer then
                Config.noty_buffer = {}
                -- Initialize the cleanup thread if not already done
                Citizen.CreateThread(function()
                    while true do
                        Citizen.Wait(200)
                        if Config.noty_buffer then
                            for k, v in pairs(Config.noty_buffer) do
                                if GetGameTimer() - v.time > 200 then
                                    exports["origen_notify"]:RemoveHelp(v.noty)
                                    Config.noty_buffer[k] = nil
                                end
                            end
                        end
                    end
                end)
            end
            
            -- Help notification
            if Config.noty_buffer[message] then
                Config.noty_buffer[message].time = GetGameTimer()
            else
                local textformated = message or ""
                local key = ""
                
                if string.find(textformated, "~y~") then
                    textformated = string.gsub(textformated, "~y~", "")
                    key = string.sub(textformated, 1, 1)
                    textformated = string.sub(textformated, 2)
                    textformated = string.gsub(textformated, "~w~", "")
                end
                
                Config.noty_buffer[message] = {
                    time = GetGameTimer(),
                    noty = exports["origen_notify"]:CreateHelp(key, textformated)
                }
            end
            return
        end
        
        -- Regular notifications
        local notifyType = 'info'
        if msgType == 'error' then
            notifyType = 'error'
        elseif msgType == 'success' then
            notifyType = 'success'
        end
        
        exports['origen_notify']:ShowNotification(message, notifyType, length or 5000)
    end

With this adjustment, you’ll be able to see notifications using origen_notify. :white_check_mark: