# qbx_idcard
[![umstore](https://cdn.discordapp.com/attachments/715130970294059088/1044857362617470986/Baslksz-3.png)](https://uyuyorumstore.com)
[![Donate](https://cdn.discordapp.com/attachments/715130970294059088/1044848075996405820/coffee.png)](https://www.buymeacoffee.com/umcof)
[![License MIT](https://cdn.discordapp.com/attachments/715130970294059088/1044845854508449822/license.png)](https://choosealicense.com/licenses/gpl-3.0/)
[![Discord](https://cdn.discordapp.com/attachments/715130970294059088/1044855172494532628/discord.png)](https://discord.gg/cf6wkBFeYV)


<p align="center">
<img width="180" height="110" src="https://media.discordapp.net/attachments/711827512274976819/1224271438530215976/idcard.png?ex=661ce2a0&is=660a6da0&hm=b1f609fe207292a6fb0b7422bec56d00ffa6402dbdcf42cc64742b9a2f7a8f6a&=&format=webp&quality=lossless">
<img width="180" height="110" src="https://media.discordapp.net/attachments/711827512274976819/1224271438278688788/driver.png?ex=661ce2a0&is=660a6da0&hm=de051ec58b88adb9f2d32d894cd4255dddf017e2f240b11463ade3aba50ceff8&=&format=webp&quality=lossless">
<img width="180" height="110" src="https://media.discordapp.net/attachments/711827512274976819/1224271438744387604/weapon.png?ex=661ce2a0&is=660a6da0&hm=f4fbe671a64474cddd22966f6e82a98b30949303b2104f53c4a2c46e16c90191&=&format=webp&quality=lossless"><br>
</p>

### Usage
* Just use the item
* If there is someone near you, it will be visible to them, otherwise only you will see it.
* It takes a mugshot of you on the first use of the item and saves it in metadata.

### How to create a custom identity card?
* **[um-idcard-maker](https://alp1x.github.io/um-idcard-maker/)**

### How can add an identity card with metadata?
* **[Exports](https://alp1x.github.io/um-idcard/exports)**

### Optional
* **[um-idcard-menu](https://github.com/alp1x/um-idcard-menu)**

## Card items (ox_inventory)
Add the following to your `ox_inventory/data/items.lua`.

```lua
['id_card'] = {
    label = 'Identification Card',
},

['driver_license'] = {
    label = 'Drivers License',
},

['weaponlicense'] = {
    label = 'Weapon License',
},

['lawyerpass'] = {
    label = 'Lawyer Pass',
},
```

## Contributors
<a href="https://github.com/alp1x/um-idcard/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=alp1x/um-idcard" />
</a>

## License
[GNU General Public License v3.0](https://choosealicense.com/licenses/gpl-3.0/)
