Phillip2122 / zh-documents

esx_documents convert qb-core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zh-documents

esx_documents convert qb-core original repository : https://github.com/apoiat/ESX_Documents

preview

https://youtu.be/F1prso-TRVM

install

add this to qb-core/shared/items.lua

['documents'] = {['name'] = 'documents', ['label'] = 'documents', ['weight'] = 200, ['type'] = 'item', ['image'] = 'documents.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'documents'},

add this to qb-inventorty/html/js/app.js

} else if (itemData.name == "documents") { $(".item-info-title").html("

" + itemData.label + "

"); $(".item-info-title").html("

" + itemData.info.description + "

"); $(".item-info-description").html( );

About

esx_documents convert qb-core


Languages

Language:Lua 61.6%Language:JavaScript 24.8%Language:CSS 12.4%Language:HTML 1.2%