ID Cards & Licenses

Installation

Installation for ID Cards & Licenses.

View in store
  1. Put lg_idcard in your resources folder.
  2. Add the items (see below).
  3. In server.cfg, start it after its requirements:
    cfg
    ensure ox_lib
    ensure oxmysql
    ensure lg_idcard
  4. Edit config.lua (and server_config.lua for the webhook), then restart.

Items

ox_inventory – ox_inventory/data/items.lua:

lua
['id_card'] = { label = 'ID Card', weight = 10, stack = false, close = true },
['driver_license'] = { label = 'Driver License', weight = 10, stack = false, close = true },

qb-core – qb-core/shared/items.lua:

lua
id_card = { name = 'id_card', label = 'ID Card', weight = 10, type = 'item', image = 'id_card.png', unique = true, useable = true, shouldClose = true, description = 'Identification card' },
driver_license = { name = 'driver_license', label = 'Driver License', weight = 10, type = 'item', image = 'driver_license.png', unique = true, useable = true, shouldClose = true, description = 'Driver license' },

ESX – add id_card and driver_license to the items table.

Last updated