Starter documents
Every character that never had a document of the listed types gets one after loading, as soon as its name and date of birth are set.documents = {} to turn this off.
Citizen offices
An office is an NPC at a counter, with a blip on the map. Each office handles the document types it lists. Players can:- Apply for a first document
- Renew it: same number, new expiry and photo (the document must be carried)
- Get a replacement when it was lost or stolen: new number, the old one becomes invalid
- Report a document lost or stolen, or report it found again
- Hand in their own cards that are no longer valid
- Add a class gained after the card was printed (runs a renewal)
A card that isn’t the player’s own gets the same answer whether it belongs to someone else or is forged, so the office can’t be used to test forgeries.
Configuration
Offices are set inConfig.Offices (config/office.lua), or placed in game on the office page of /documents config.
esx_dmvschool (ESX only)
esx_dmvschool adds the licence after a passed test but hands out no card. WithConfig.DmvSchool on:
- the first driver licence is issued right after the test, with a photo taken there and no fee (the school charged already)
- a class passed later is printed on the licence the player carries (same number, expiry and photo)
- without the card on them, the player is told to visit the office, which adds it
QBCore and Qbox city hall
On the QBCore version, what qb-core, qbx_core and qb-cityhall / qbx_cityhall hand out becomes a registered document of the character. qbx_cityhall issues it with a photo taken there. On Qbox, removeqbx_idcard: Jaksam Identity answers in its place.