Reliable Scripts
Encrypted & Unencrypted Options
Fast Support
Fair Prices
Reliable Scripts
Fair Prices
Fast Support
Encrypted & Unencrypted Options
Packages
Installation Instructions for gs_drone
Follow these steps to properly install and configure your new resource:
-
Download the Resource
- Go to portal.cfx.re
-
Navigate to Assets > Granted Assets >
gs_drone
- Download the resource
-
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]
)
-
Open the downloaded
-
Add to Server Configuration
- Open your
server.cfg
-
Add the following line:
ensure gs_drone
- Open your
-
Restart the Server
- Restart your FiveM server (Important!)
-
Configure the Script (Optional)
- Navigate to
gs_drone/config.lua
- Edit the configuration options to fit your server's needs
- Navigate to
Additional documentation
If you want to use the screenshot functionality, you have to install the following resources:
Inventory Items
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,
},