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

Joined
Jul 5, 2023
Messages
3
Reaction score
0
Points
146
Location
Sri Lanka
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)
Does anyone have this script
 

lean_sonclaire

Bronze Elite
Joined
Feb 4, 2023
Messages
13
Reaction score
9
Points
166
Location
Argentina
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)
Thanks
 
Top