mur4i / chalkboards

A chalkboard resource for FiveM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chalkboards

A FiveM chalkboard system using DUI's and placed objects

Video Example

2024-04-18.17-47-36.mp4

Streamable Link

Information

Open source so you can customize which notifies, inventory, target etc. This is set up with the below dependencies. Alter to your liking.

Using an item will trigger a object placement system. Prior to placement you will be asked which template to use. There are 5 templates to an object. If you use the same template twice or more, the same board will be displayed as the original placed board. Or pick a different template and add a new board with its own board data!

Example

After placement, you can target the board to interact with a WYSIWYG text editor, which a preview of your board as a toolbar option. Visually see what will be placed on the board. I have added open source "chalkboard" fonts for you to use to provide realism to the boards placed!

Example

alt text

Dependencies

Issues

  • Biggest problem is the use of chalkboards by two people, with the same model, around the radius of each other. This uses the AddReplaceTexture native, which means whoever edited last would overwrite the texture of the others board when nearby. This shouldnt be an issue if your player owned businesses are placing boards across town from each other, or outside the designated radius zone that is created when a board is placed.

  • Prop 3/Chalkboard3 has its origin in the center of what seems to be a sphere, making it nearly impossible to place or be used with this resource.

  • When placing objects, based on the surface the raycast is hitting, your object will blink in and out of existence. If you finish placement and the object is not visible, it will stay that way, and you will essentially "lose" the item. Unsure of a way to resolve.

About

A chalkboard resource for FiveM

License:GNU General Public License v3.0


Languages

Language:Lua 66.1%Language:Vue 27.9%Language:JavaScript 4.6%Language:HTML 0.9%Language:Sass 0.5%