CR LEAKS
Administrative
Hi everyone! Today I’m releasing one of my free resources that’s been sitting in my github for a while. This resource will make you be able to forge some legal documents for yourself. It supports the item types of the QBCore but you can add any item with the metadata.
Preview
Features
Preview
Features
- Forge default document types
- ID Card
- Driver License
- Weapon License
- Lawyer Pass
- Supports both qb-target or PolyZone
- This resource uses the latest QBCore so needed items added automatically when resource starts but if you want to add the items to shared/items.lua, here you go.
-
Dependencies
- - Inventory system for the QBCore Framework
- - Menu System for the QBCore Framework
- - Targeting solution for the QBCore Framework
- - NUI input system for the QBCore Framework
Installation
- Download the script and put it in the [qb] directory.
- Add the following line after your GetStashItems() function.exports('GetStashItems', GetStashItems)
- Example
-
Configuration
Example
How can I use forged weapon license with weapon shops?
We need to edit and add some functions to qb-shops/client/main.lua.
- First we need to comment/delete the line 81 in client/main.lua. After that we need to add “if licenseCheck() then” or “if licenseCheckWithPlayerData() then” line accordingly what you want.
-
- Next we will add some helper functions above openShop() function.
- Since these are local functions please beware these needs to be in the correct order and before the openShop() function.
-
- Since these are local functions please beware these needs to be in the correct order and before the openShop() function.
- Next we will add some helper functions above openShop() function.