ShadowIdCard
ID cards and licences viewable in game, with the character's photo and police-side verification.
- Version
- 1.0.0
- Resource
- ShadowIdCard
Overview#
ShadowIdCard turns identity documents into inventory items: using the item shows the card. Five documents ship with it โ ID card, driving licence, firearm licence, health card and business card โ each with its own label, colour and fields.
A player can show a document to another within three metres, with a one-and-a-half-second anti-spam delay. The document header is free text: "Republic of San Andreas", your server name, or a different line per document.
Framework, inventory and targeting system are all detected automatically โ ESX, QBCore, QBX or standalone, ox_inventory, qb, esx or codem. If ShadowIdUnique is installed, the document number uses the permanent ID rather than the server ID.
Five documents
ID card, driving licence, firearm licence, health card and business card, each with its own fields.
Show to a player
Present a document to someone within three metres, with built-in anti-spam.
Automatic detection
Framework, inventory and targeting recognised on their own: ESX, QBCore, QBX, ox, qb, esx or codem.
Permanent number
With ShadowIdUnique installed, the document number uses the player's permanent ID.
Installation#
- Drop the resource โ Place the
SF-IdCardfolder into your server'sresourcesdirectory. - Declare the documents โ Add the five items listed in
ITEMS.mdto your inventory, with their images. - Customise โ Set the header, fields and colours of each document in
config.lua. - Declare it โ Add
ensure SF-IdCardafterox_lib, then restart.
ensure SF-IdCard