Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script Fivem Books

Respown

Gold Elite
Joined
Aug 3, 2021
Messages
192
Solutions
1
Reaction score
98,721
Points
306
Location
root
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom







client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
 

shhabsmile

Bronze Elite
Joined
Aug 10, 2021
Messages
8
Reaction score
8
Points
156
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
 

hasidu deshan

Gold Elite
Joined
Apr 15, 2021
Messages
268
Reaction score
3,535
Points
306
There's so little framework code in there that you can change it in like 15 seconds, just change the QB = nil to the ESX stuff and change the registerusableitem command
i will convert it to esx and post it here soon i can
 

revodz

Bronze Elite
Joined
May 6, 2021
Messages
11
Reaction score
30
Points
166
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
ty
 

RodriguezRP

Member
Joined
May 17, 2022
Messages
11
Reaction score
1
Points
166
Location
Sweden
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
 

codeine

Silver Elite
Joined
Apr 4, 2021
Messages
55
Reaction score
17
Points
156
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
converting give me 2 secs
 

codeine

Silver Elite
Joined
Apr 4, 2021
Messages
55
Reaction score
17
Points
156
esx version, lmk if it works, not test, but should work
 

Attachments

  • booksesx.zip
    13.9 KB · Views: 269

NickatNightt

Gold Elite
Joined
Mar 11, 2022
Messages
32
Reaction score
89
Points
221
Location
US
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
 

scrgvhg44

Member
Joined
Dec 5, 2021
Messages
11
Reaction score
1
Points
166
Location
Israel
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
 

n3x

Silver Elite
Joined
Sep 3, 2021
Messages
23
Reaction score
6
Points
166
Location
italy
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
<3
 

linhbeovn

Silver Elite
Joined
Oct 11, 2021
Messages
37
Reaction score
25
Points
176
Location
viet nam
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
 

xxxIsti

Silver Elite
Joined
Jun 30, 2022
Messages
24
Reaction score
8
Points
166
Location
veszprém
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
thx
 

AlexanderGamini

Gold Elite
Joined
Jun 14, 2022
Messages
186
Reaction score
456
Points
306
Location
Turkish
You add the book model from the config, then you add the pages, you can either do it with the command or you can make the item usable from the server. I leave the example both in sc and at the bottom



*** Hidden text: cannot be quoted. ***




client-side command

Code:
RegisterCommand('kitaptestpd', function()
    TriggerEvent('edrp_books:OpenBook', "kitaplspd1")
end)

RegisterCommand('kitaptestillegal', function()
    TriggerEvent('edrp_books:OpenBook', "kitapıllegal1")
end)


server-side command


Code:
QBCore.Functions.CreateUseableItem('book', function(source)
    TriggerClientEvent('edrp_books:OpenBook', source, "kitaplspd1")
end)
 
Top