ID Cards & Licenses
Installation
Installation for ID Cards & Licenses.
- Put
lg_idcardin yourresourcesfolder. - Add the items (see below).
- In
server.cfg, start it after its requirements:cfgensure ox_lib ensure oxmysql ensure lg_idcard - Edit
config.lua(andserver_config.luafor 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