Reliable Scripts
Fair Prices
Fast Support
Encrypted & Unencrypted Options

Installation Instructions for gs_drone

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_drone
    • Download the resource
  2. Extract the Files
    • Open the downloaded .zip file
    • Inside, you'll find a folder named gs_drone
    • Move the entire gs_drone 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_drone
  4. Restart the Server
    • Restart your FiveM server (Important!)
  5. Configure the Script (Optional)
    • Navigate to gs_drone/config.lua
    • Edit the configuration options to fit your server's needs
Additional documentation

If you want to use the screenshot functionality, you have to install the following resources:

Inventory Items
Included images
Installation Instructions

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

['drone'] = {
    label = 'Drone',
    weight = 500,
    server = {
        export = 'gs_drone.drone',
    },
},
['emergencydrone'] = {
    label = 'Emergency Drone',
    weight = 500,
    server = {
        export = 'gs_drone.emergencydrone',
    },
},

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

INSERT INTO
	`items` (`name`, `label`, `weight`, `rare`, `can_remove`)
VALUES
	('drone', 'Drone', 1, 0, 1);
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('emergencydrone', 'Emergency Drone', 1, 0, 1);

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

['drone'] = {
    ['name'] = 'drone',
    ['label'] = 'Drone',
    ['weight'] = 500,
    ['type'] = 'item',
    ['image'] = 'drone.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
},
['emergencydrone'] = {
    ['name'] = 'emergencydrone',
    ['label'] = 'Emergency Drone',
    ['weight'] = 500,
    ['type'] = 'item',
    ['image'] = 'emergencydrone.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
},