Skip to content

alp1x/um-idcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

161 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

um-idcard

qb-idcard has been updated and renamed as um-idcard, and it is now compatible with Qbox and ESX and QBCore

Setup

  • Make sure you have the items in Config.Licenses, otherwise add them. (id_card/driver_license etc)
  • set your locale setr ox:locale "en" server.cfg
  • ensure um-idcard server.cfg

Upload Mugshots

There are two ways to do this: the first is local, i.e., web/assets/mugshots; the second is via the Fivemanage path.

  1. Local (default)
  • No extra configuration is required; the user's mugshot is saved as a .png file in web/assets/mugshots, but you won't see it immediately. The script needs to be restarted because a new file is being added.
  1. Fivemanage (recommended / free 30GB bandwidth)
  • open config.lua and mugshotsUpload value replace to fivemanage
 mugshotsUpload = 'fivemanage'
  • Log in to Fivemanage
  • Create a token from the Dashboard
  • and add it into server.cfg set fivemanage:key "YOUR_TOKEN"

Compatibility (cityhall/giveitem etc.)

  • You don't need to do anything for this, just use the item.

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?

Optional

Alternatives

Contributors

License

GNU General Public License v3.0

Star History

Star History Chart

About

🪪this is a FiveM script that generates identity cards with mugshots and metadata, specifically designed to be compatible with QBCore,ESX,QBox.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors