[Preview Video]
Dependencies
None
This script protected escrow system
[Discord]
Script escrow will never restrict your access to important things.
Most of the important things, such as adding and removing status bars, are open source. 80% of the script is open source according to general statistics.
izzy-idcard โ ID & Driver License Cards for FiveM
๐ฆ Overview
* Show your ID card and driver license with real character data
* Works with ESX and QBCore (framework auto-detects)
* ox_inventory support (item exports)
* Open cards from inventory items, commands, or exports
* If someone is nearby, you show the card to them (~2 m range)
๐ค Profile area (on the card)
* No Discord photo โ the card uses a live in-game mugshot of your face
* Info comes from the framework: full name, citizen ID, date of birth, gender, nationality
* Job cards also show rank / job grade
* Fake IDs store your photo plus the fake details you entered on the item
๐ชช Card types
* Different designs by job (config: `jobs`):
ย * **Civilian ID** (default ui)
ย * **Police** (police)
ย * **Sheriff** (sheriff)
ย * **EMS / ambulance** (ambulance โ EMS card)
ย * **Mechanic** (mechanic)
ย * **Driver license** (driver) โ separate card design
๐ Whatโs on the card?
* First and last name
* Citizen ID
* Date of birth (on driver license too)
* Gender
* Nationality
* Job cards: rank or grade name
๐ฎ How to use it
* **Inventory items** (`UseItem = true`):
ย * `id_card` โ open / show your ID
ย * `driver_license` โ open your license (QBCore and ox_inventory; on ESX use command/export only)
ย * `fake_id` โ a fake ID you created earlier
* **Commands** (`UseCommand = true`):
ย * `IdCheck` โ ID card based on your job
ย * `DriverCheck` โ driver license card
* **Exports:**
ย * `ShowIDToClosest()` โ show ID to nearest player
ย * `ShowDriverToClosest()` โ show license to nearest player
* If no one is nearby, you see the card yourself; within ~2 m, a short animation shows it to them โ both of you see the same card.
๐ญ Fake ID (`UseFakeID = true`)
* At a set NPC spot on the map: `[E] Fake ID`
* Form: first name, last name, date of birth, gender
* Adds a `fake_id` item to inventory with your face photo and fake details
* Using the fake ID shows those details + saved photo on the card
๐จ Look & feel
* Separate UI per job (police, sheriff, EMS, mechanic, civilian, driver)
* Close with ESC or Backspace
* Short show animation (varies by job type)
๐ Language
* No built-in language pack โ config only has `lang.NoOneNear`; most card text is fixed in the HTML
๐ ๏ธ Setup & customization (server owners)
* **shared/cfg.lua:** job โ card mapping, item names, commands, fake ID NPC model and coords
* **readme.md:** ox_inventory item examples
* No Discord webhook, xsound, or database required