qb-idcard has been updated and renamed as um-idcard, and it is now compatible with Qbox and ESX and QBCore
- 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-idcardserver.cfg
There are two ways to do this: the first is local, i.e., web/assets/mugshots; the second is via the Fivemanage path.
- 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.
- 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"
- You don't need to do anything for this, just use the item.
- 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.