0R IDCard V2 is an identity card script for FiveM that works with QBCore or ESX. Players carry ID cards, job badges and licenses as items, show them with an animation, and can buy fake ID cards and fake badges from an NPC. The card design depends on the player’s job and grade.
Features
- Items for ID card, job card, fake ID card, fake job card, driver license and weapon license
- Card types per job and grade, each with its own design, text and colour; the author ships identities for LSPD, Sheriff, FBI, Lawyer and EMS, and you can add more in
config.lua - Photo for the card taken at a headshot NPC with a mugshot camera
- Fake ID cards and fake badges from an NPC (default price 1000)
- Badge animation with a badge prop when showing a card
- Whitelisted jobs (default: police) can show their job card to an NPC driver and take the vehicle, with keys handed over
- Use QBCore or ESX licenses, or optionally require the driver or weapon license to drive or use weapons
- Nationality flags on the card
- Exports for other scripts:
doesPlayerHasLicenseandsetPlayerLicense
Requirements
- QBCore or ESX (set
Frameworkinconfig.lua) ox_liboxmysql,mysql-asyncorghmattimysql- Progress bar: qb, ox_lib or your own
Installation
- Import
sql.sql(tables0r_idcardand0r_idcard_fakecards). - Add the items
id_card,job_card,fake_id_card,fake_job_card,driver_licenseandweapon_licenseto your inventory. - Copy
0r_idcardinto your resources folder and addensure 0r_idcardafter ox_lib in your server.cfg. - Set framework, locations, card types and prices in
config.lua.