Encrypted & Unencrypted Options
Reliable Scripts
Fast Support
Fair Prices

Installation Instructions for gs_doorcam

Follow these steps to properly install and configure your new resource:

  1. Download the Resource
    • Go to portal.cfx.re
    • Navigate to Assets > Granted Assets > gs_doorcam
    • Download the resource
  2. Extract the Files
    • Open the downloaded .zip file
    • Inside, you'll find a folder named gs_doorcam
    • Move the entire gs_doorcam folder into your desired server resources folder (e.g., /resources/[scripts])
  3. Add to Server Configuration
    • Open your server.cfg
    • Add the following line:
      ensure gs_doorcam
  4. Restart the Server
    • Restart your FiveM server (Important!)
  5. Configure the Script (Optional)
    • Navigate to gs_doorcam/config.lua
    • Edit the configuration options to fit your server's needs
Inventory Items
Included images
Installation Instructions

Add the following items to your ox_inventory/data/items.lua file:

['doorcamera'] = {
    label = 'Door Camera',
    weight = 500,
    server = {
        export = 'gs_doorcam.doorcamera',
    },
},

Execute the following SQL query to add the items to the database:

INSERT INTO
	`items` (`name`, `label`, `weight`, `rare`, `can_remove`)
VALUES
	('doorcamera', 'Door Camera', 1, 0, 1);

Add the following items to your qb-core/shared/items.lua file:

['doorcamera'] = {
    ['name'] = 'doorcamera',
    ['label'] = 'Door Camera',
    ['weight'] = 500,
    ['type'] = 'item',
    ['image'] = 'doorcamera.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
},