Envi-Scripts / envi-receipts

Other
55 stars 32 forks source link

Add new Metadata for "receipt" for new qb-inventory #5

Open merpindia opened 7 months ago

alxspiker commented 2 months ago

Here you go! This uses qb-inventory

  1. Put two images from img forlder in `qb-inventory/html/images'
  2. Add following items to qb-core/shared/items.lua

    -- ENVI Receipts
    ['receipt'] = {
        name = 'receipt',
        label = 'Receipt',
        weight = 20,
        unique = true,
        useable = true,
        shouldClose = true,
        image = 'receipt.png',
        description = nil,
    },
    
    ['payment_terminal'] = {
        name = 'payment_terminal',
        label = 'Receipt Printer',
        weight = 2000, 
        unique = true,
        useable = true,
        shouldClose = true,
        image = 'payment_terminal.png',
        description = 'A handy device for printing receipts on-the-go!',
    },

image image