Plomyk-dev / cw-notes

Notepad with metadata based note saving

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cw-notes πŸ““

A lil tiny script that has two items in it: A notepad and notes. The script is pretty simple, you use the notepad and you can type some notes. The text and title are saved in the item metadata, which means you don't need to save into the database etc.

The script has support for QB inventory and OX inventory, you can toggle this in the config.

See the script in action on Sundown RP πŸŒ†

Preview

Video πŸ“½

YOUTUBE VIDEO

Developed by Coffeelot and Wuggie

More scripts by us πŸ‘ˆ
Support, updates and script previews πŸ‘ˆ

Support, updates and script previews:

Join The discord!

All our scripts are and will remain free. If you want to support what we do, you can buy us a coffee here:

Buy Us a Coffee

Config πŸ”§

QB INV β—πŸ“¦

Items to add to qb-core>shared>items.lua

	["cwnotepad"] =          {["name"] = "cwnotepad",         ["label"] = "Note Pad",                  ["weight"] = 300, ["type"] = "item", ["image"] = "cwnotepad.png", ["unique"] = false, ["useable"] = true, ['shouldClose'] = false, ["combinable"] = nil, ["description"] = "Use this to write notes"},
    ["cwnote"] =          {["name"] = "cwnote",         ["label"] = "Note",                  ["weight"] = 35, ["type"] = "item", ["image"] = "cwnote.png", ["unique"] = false, ["useable"] = true, ['shouldClose'] = false, ["combinable"] = nil, ["description"] = "A note"},

OX INV β—πŸ“¦

This one has a degrade of about 2 weeks. So users will need to buy new ones

	["cwnotepad"] = {
		label = "Note Pad",
		weight = 300,
		stack = true,
		close = true,
		allowArmed = true,
		description = "Use this to write notes",
	},
	["cwnote"] = {
		label = "Note",
		weight = 350,
		stack = true,
		close = true,
		allowArmed = true,
		description = "A note",
	},

About

Notepad with metadata based note saving


Languages

Language:Lua 43.4%Language:CSS 22.5%Language:JavaScript 19.1%Language:HTML 15.0%