Fast Support
Fair Prices
Encrypted & Unencrypted Options
Reliable Scripts

Installation Instructions for gs_deployablelight

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_deployablelight
    • Download the resource
  2. Extract the Files
    • Open the downloaded .zip file
    • Inside, you'll find a folder named gs_deployablelight
    • Move the entire gs_deployablelight 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_deployablelight
  4. Restart the Server
    • Restart your FiveM server (Important!)
  5. Configure the Script (Optional)
    • Navigate to gs_deployablelight/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:

['deployable_light'] = {
    label = 'Deployable Light',
    weight = 250,
    server = {
        export = 'gs_deployablelight.deployable_light',
    },
},
['deployable_light_blue'] = {
    label = 'Blue Deployable Light',
    weight = 250,
    server = {
        export = 'gs_deployablelight.deployable_light_blue',
    },
},
['deployable_light_red'] = {
    label = 'Red Deployable Light',
    weight = 250,
    server = {
        export = 'gs_deployablelight.deployable_light_red',
    },
},
['deployable_light_orange'] = {
    label = 'Orange Deployable Light',
    weight = 250,
    server = {
        export = 'gs_deployablelight.deployable_light_orange',
    },
},

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

INSERT INTO
	`items` (`name`, `label`, `weight`, `rare`, `can_remove`)
VALUES
	('deployable_light', 'Deployable Light', 0, 0, 1);
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('deployable_light_blue', 'Blue Deployable Light', 0, 0, 1);
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('deployable_light_red', 'Red Deployable Light', 0, 0, 1);
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('deployable_light_orange', 'Orange Deployable Light', 0, 0, 1);

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

['deployable_light'] = {
    ['name'] = 'deployable_light',
    ['label'] = 'Deployable Light',
    ['weight'] = 250,
    ['type'] = 'item',
    ['image'] = 'deployable_light.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
},
['deployable_light_blue'] = {
    ['name'] = 'deployable_light_blue',
    ['label'] = 'Blue Deployable Light',
    ['weight'] = 250,
    ['type'] = 'item',
    ['image'] = 'deployable_light_blue.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
},
['deployable_light_red'] = {
    ['name'] = 'deployable_light_red',
    ['label'] = 'Red Deployable Light',
    ['weight'] = 250,
    ['type'] = 'item',
    ['image'] = 'deployable_light_red.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
},
['deployable_light_orange'] = {
    ['name'] = 'deployable_light_orange',
    ['label'] = 'Orange Deployable Light',
    ['weight'] = 250,
    ['type'] = 'item',
    ['image'] = 'deployable_light_orange.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
},