Accessible code

function Notify(msg, type)
    lib.notify({
        description = msg,
        type = type,
        position = 'bottom'
    })
end

RegisterNetEvent('uniq_deathmatch:Notify', Notify)

function LockInventory(bool) end

if Inv.ox then
    function LockInventory(bool)
        if bool then
            TriggerEvent('ox_inventory:disarm', true)
        end
        exports.ox_inventory:weaponWheel(bool)
        LocalPlayer.state.invBusy = bool
        -- you can also add here healing for wounds etc
    end
elseif Inv.qb then
    function LockInventory(bool)
        LocalPlayer.state.inv_busy = bool
        -- you can also add here healing for wounds etc
    end
elseif Inv.qs then
    function LockInventory(bool)
        exports['qs-inventory']:setInventoryDisabled(bool)
        -- you can also add here healing for wounds etc
    end
end

Last updated