About This File
Features
- Metadata Powered: Notes store their text directly in the item metadata, meaning they can be traded, dropped, or stolen while keeping their message.
- Live Tooltips: Uses displayMetadata so players can see a preview of the note just by hovering over it in their inventory.
- Standalone: No framework dependencies (No QB/ESX/Qbox required), as long as you have ox_inventory and ox_lib.
- Security: Built-in character limits and basic sanitization to prevent inventory bloat.
Installation
- Download the resource and place it in your resources folder.
- Add the images (paper.png and note.png) to ox_inventory/web/images/.
- Add the following items to your ox_inventory/data/items.lua:
['paper'] = { label = 'Blank Paper', weight = 10, stack = true, close = true, consume = 0, description = 'A blank piece of paper, maybe you could write on it?', }, ['note'] = { label = 'Written Note', weight = 10, stack = false, close = true, consume = 0, description = 'A note with something written on it.', },
Recommended Comments
There are no comments to display.
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 accountSign in
Already have an account? Sign in here.
Sign In Now