Jump to content
LOOKING FOR ROBLOX ASSETS? VISIT ROBLOXBAY.COM! ×
THE BEST DISCORD BACKUP BOT | PRESERVE YOUR DISCORD SERVER! ×

RobloxBay

Visit Site

FiveSecured

 

Stop shipping plaintext. FiveSecured encrypts, obfuscates, and licenses your Lua resources so customers run your work without ever holding your source.

Try for Free
  • 5decrypt-banner-v1.thumb.png.262b7992a5a4de66fd6633bf48af6c1c.png

AC-NOTEBOOK | Nopixel 4.0 Inspired Notebook Script

   (1 review)

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