[FREE][QBCORE] Simply Books

UPDATE: This script is now open source. I want to thank all of those that purchased the script.

This resource lets your create an unlimited number of books in your server, that can be shared and viewed by players in game. It comes with two examples already setup, with sample images. These can be used to drive RP stories, introduce players to your server and provide important information, or to give players unique items like comic books or heist manuals. Drag edges with your mouse to open and turn pages. Config is the only user-editable file.

Simply Books

Automatically creates useable items from the book objects in the config. Items must still be added to shared file in the core.
Runs at 0.0ms at all times.
Determine the prop the ped holding while reading.

Dependencies

  • qb-core

Download

GITHUB

Preview

Config

Page turning

Code is accessible Yes
Subscription-based No
Lines (approximately) 120+
Requirements qb-core
Support Yes
10 Likes

nice one dude !
I love the animation keep the great work.

1 Like

good job

2 Likes

Dam this is a must have, educate your players folks lol … read

will be esx?

1 Like

If I release one, I will post in the forums again.

aint this just a edit of fishy’s book from 9/21

heck even posted in the QB discord showcase room

1 Like

Its a flipbook JS library, they might just use the same library :wink:
Doesn’t mean its the same resource, or edited.

Is there access to the client and server luas? I’d need to convert this to old Qbcore

I can add that today.

Redownload the asset from Keymaster; this option is now added.

Appreciate it :slight_smile:

how i open the book in game? @JoeSzymkowicz

Do you know how?

pls for esx i will buy it

yes, i add the line for the item book in ur qb.core/share/item
copy the line of the same item…and edit whit other name… example: book1 or book2 restart the server.

To those requesting ESX:

Didn’t test but should be fine. Enjoy.

3 Likes

Hi! Amazing resource, but when i close a book (after the second time), i got an error in f8, the script working without problem but i was looking if is possible to fix it :slight_smile:
The error is:
Uncaught TurnJSError: The page 1 does not exist.
Thank you, have a nice day!

that’s cause the cover it’s considered as page1, do something like this

 { pageName = "cover", type = 'hard', source = 'local' }, --Front Cover
            { pageName = "2", type = 'hard', source = 'local' }, --Inside Front Cover
            { pageName = "3", type = 'normal', source = 'local' }, --Page 2
            { pageName = "4", type = 'normal', source = 'local' }, --Page 2
            { pageName = "5", type = 'normal', source = 'local' }, --Page 3
            { pageName = "6", type = 'normal', source = 'local' }, --Page 3
            { pageName = "7", type = 'hard', source = 'local' }, --Inside Rear Cover
            { pageName = "backcover", type = 'hard', source = 'local' }, --Rear Cover

Thank you Litto! I change like you did with start page “2” But unfortunelly the message looks the same: Uncaught TurnJsError: The page 1 does not exist on html/turn.min.js:31