Scripts/resources/[qb]/[qb_extras]/qb-camera
2024-12-29 21:07:50 +01:00
..
client Part 11 2024-12-29 21:07:50 +01:00
html Part 11 2024-12-29 21:07:50 +01:00
server Part 11 2024-12-29 21:07:50 +01:00
fxmanifest.lua Part 11 2024-12-29 21:07:50 +01:00
LICENSE Part 11 2024-12-29 21:07:50 +01:00
README.md Part 11 2024-12-29 21:07:50 +01:00

qb-camera

Setting up:

  1. Clone the files and put it in your resources folder
  2. Rename the script to qb-camera
  3. Setup the webhook in server/main.lua
  4. Use the camera item with the paper item in your inventory

Items:

['polaroid_camera'] = {
        ['name'] = 'polaroid_camera',
        ['label'] = 'Polaroid camera',
        ['weight'] = 5000,
        ['type'] = 'item',
        ['image'] = 'polaroid.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Did we just go back in time?'
    },

    ['polaroid'] = {
        ['name'] = 'polaroid',
        ['label'] = 'Polaroid image',
        ['weight'] = 10,
        ['type'] = 'item',
        ['image'] = 'photo.png',
        ['unique'] = true,
        ['useable'] = true,
        ['shouldClose'] = true,
        ['combinable'] = nil,
        ['description'] = 'Cool image bro'
    },

    ['polaroid_paper'] = {
        ['name'] = 'polaroid_paper',
        ['label'] = 'Polaroid paper',
        ['weight'] = 10,
        ['type'] = 'item',
        ['image'] = 'photo.png',
        ['unique'] = false,
        ['useable'] = false,
        ['shouldClose'] = false,
        ['combinable'] = nil,
        ['description'] = 'Some paper'
    }