Jump to content
Check out discord.gg/fxap for the cheapest decryptions! First one is free! ×

Get LB-Phone!

Unlock the powerful LB-Phone for a fraction of the price you pay on tebex.

Download

Premium TOS Clothing MEGA Pack!

11GB of pure TOS premium clothing best clothing pack for your Server!

Download

5Decrypt

Automated Asset Decryption

Learn More

1 Screenshot

About This File

Preview:
 

 

  • Nice 2
  • Sad 1

User Feedback

Recommended Comments

cheeseman1234

Posted

script loads in server, doesnt save any notes etc, so its broken

cheeseman1234

Posted

SCRIPT ERROR: @cure-notebook/server/server.lua:14: attempt to index a nil value (global 'ox_inventory')

ToastisHomo

Posted

12 hours ago, cheeseman1234 said:

SCRIPT ERROR: @cure-notebook/server/server.lua:14: attempt to index a nil value (global 'ox_inventory')

Its open source just make it work with ox_inventory. It isnt hard
 

Go to server > server.lua
 

RegisterNetEvent('cure-notebook:updateMetadata:server', function(metadata, slot, title, desc)
    local src = source
    if Inventory == "ox_inventory" then
        local searchResult = exports.ox_inventory:Search(src, 'slots', Config.ItemName)
        if searchResult and type(searchResult) == 'table' then
            for _, itemData in pairs(searchResult) do
                if itemData.slot then
                    local updatedMetadata = itemData.metadata or {}
                    updatedMetadata.content = metadata
                    updatedMetadata.main = {title = title, description = desc}

                    exports.ox_inventory:SetMetadata(src, itemData.slot, updatedMetadata)
                end
            end
        end
    end
end)

Youre welcome

 

Posting this here also for any others that dont understand that you can edit open source scripts to work

Broken Soul

Posted

Do this works for esx?

AllyaM

Posted

I'm trying on esx but nothing happens, I get few errors. I would appreciate it if someone can help out with this. 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...

Important Information

By continuing on Launcherleaks.net, you agree to our Terms of Use, Guidelines & Privacy Policy