ESX Sticky notes

Hello, i’ve seen someone asking for this script for ESX framework, so here it is.

Add this to ox_inventory/data/items.lua

[‘stickynotepad’] = {
label = ‘Sticky note’,
weight = 20,
stack = false
},

Features:

  • Saving text to item metadata, so each note is unique

  • Editable anytime

Original post here

esx_stickynotes.rar (22.1 KB)

Code is accessible Yes
Subscription-based No
Lines (approximately) 200
Requirements ESX/OX
Support No
9 Likes

Nice thank u so much <3 !

how to set this item stickynote?

Add this to ox_inventory/data/items.lua

[‘stickynotepad’] = {
label = ‘Sticky note’,
weight = 20,
stack = false
},

You used the incorrect characters, just edited it to make sure others are aware and don’t break their configs. Nice release by the way!

	['stickynotepad'] = {
		label = 'Sticky Note',
		weight = 20,
		description = "Used to take note of things",
		stack = false
	},

pls add preview

when I open notes, for me show cursor and can’t close.

1 Like

Same, I have the issue of the UI not being properly aligned for 1440x2160p

When pressing Escape to escape, or attempting to close the notepad, NUI focus is still present, and all of your controls get disabled. You are either forced to restart the script or leave and rejoin to fix it.

The Animation also keeps glitching out, it’s fine for 1-3 seconds, then re-does the animation so your character’s arms keep going up and down randomly.

Nice mate, what happened with the original post btw?

Also it will be great to upload this to github or something…

I have included direct download, so it is not needed to post it on github.

I didn’t change a single line of code from the original post, besides lua. HTML/JS/CSS is original, i’ve only converted it to ESX. For me, (Full HD) works fine, if you know how to set it up for your resolution, you can do it.

how to fix?

Anybody got a fix it want let me close or write on the notepad please help

Iv changed a few things in here that might fix it but cant test it at the moment, also a few optimisations for latest esx

esx_stickynotes.rar (21.9 KB)

1 Like

You get stuck with the NUI focus after you close it. You can’t move, you can’t do anything. Anyone knows how to fix this ?