https://github.com/k37z3r/law-and-order-for-qp-phone
Law and Order is an addon for qb-phone With this addon you can create and manage the laws, also every citizen can read these laws.
https://github.com/k37z3r/law-and-order-for-qp-phone
addon fivem phone qb qb-core qb-phone qbcore
Last synced: 7 months ago
JSON representation
Law and Order is an addon for qb-phone With this addon you can create and manage the laws, also every citizen can read these laws.
- Host: GitHub
- URL: https://github.com/k37z3r/law-and-order-for-qp-phone
- Owner: k37z3r
- Created: 2022-12-12T12:55:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-12T13:24:04.000Z (over 2 years ago)
- Last Synced: 2024-01-18T05:22:38.175Z (over 1 year ago)
- Topics: addon, fivem, phone, qb, qb-core, qb-phone, qbcore
- Language: Lua
- Homepage:
- Size: 304 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Law-and-Order-for-qp-phone
Law and Order is an addon for qb-phone With this addon you can create and manage the laws, also every citizen can read these laws.
© Copyright 2022 all rights reserved
All contents, especially the source code of all files, are protected by copyright. All rights, including reproduction, publication, editing and translation, are reserved.
Law and Order is an addon for qb-phone
With this addon you can create and manage the laws, also every citizen can read these laws.
Screenshots:
Files that nedd to be modified:
./resource/[qb]/qb-phone/html/index.html
./resource/[qb]/qb-phone/html/fxmanifest.luaInstallation:
1. Move the folder `./html/audio` to: `./resource/[qb]/[phone]/html/`
2. Move the file `./html/js/lawandorder.js` to: `./resource/[qb]/[phone]/html/js/`
3. Move the file `./html/css/lawandorder.css` to: `./resource/[qb]/[phone]/html/css/`
4. Move the file `./client/lawandorder.lua` to: `./resource/[qb]/[phone]/client/`
5. Move the file `./server/lawandorder.lua` to: `./resource/[qb]/[phone]/server/`
6. Open the file: `./resource/[qb]/qb-phone/html/index.html`
7. Search in the file for: ``
8. After that, paste: ``
9. Search in the file for: ``
10. Replace it by: ``
11. Search in the file for: ``
12. After that, paste:``
Laws
Code of LawIn any case, justice does not come into being without the Word.
13. Search in the file for: ``
14. After that, paste: ``
15. Save and close
16. Open the file: `./resource/[qb]/qb-phone/fxmanifest.lua`
17. Search in the file for: `'client/main.lua',`
18. After that, paste: `'client/lawandorder.lua',`
19. Search in the file for: `'server/main.lua'`
20. Replace it by: `'server/main.lua',
'server/lawandorder.lua'`
21. Search in the file for: `files {`
22. After that, paste: `'html/audio/*.mp3',`
23. Save and close
24. Open the file: `./ressource[qb]/qb-phone/config.lua`
25. Search in file for:` ["camera"] = {
app = "camera",
color = "#AC1D2C",
icon = "fas fa-camera",
tooltipText = "Camera",
tooltipPos = "bottom",
job = false,
blockedjobs = {},
slot = 15,
Alerts = 0,
},`
26. After that, paste:` ["lawandorde"] = {
app = "lawandorder",
color = "#AC1D2C",
icon = "fas fa-scale-balanced",
tooltipText = "Gesetze",
tooltipPos = "bottom",
job = false,
blockedjobs = {},
slot = 18,
Alerts = 0,
},`27. Save and close
28. run lawandorder.sql
restart script (better restart server), DONE!
required:
qb-phone