Reliable Scripts
Encrypted & Unencrypted Options
Fast Support
Fair Prices
Encrypted & Unencrypted Options
Fast Support
Reliable Scripts
Fair Prices
Packages
Installation Instructions for gs_policeshield
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_policeshield
- Download the resource
-
Extract the Files
-
Open the downloaded
.zip
file -
Inside, you'll find a folder named
gs_policeshield
-
Move the entire
gs_policeshield
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_policeshield
- Open your
-
Restart the Server
- Restart your FiveM server (Important!)
-
Configure the Script (Optional)
- Navigate to
gs_policeshield/config.lua
- Edit the configuration options to fit your server's needs
- Navigate to
Additional documentation
ox-inventory
If you want to add the items to ox_inventory. You can use the following configuration for your items:
['ballistic_shield'] = {
label = 'Ballistic Shield',
weight = 250,
consume = 0,
allowArmed = true,
server = {
export = 'gs_policeshield.ballistic_shield',
}
},
['riot_shield'] = {
label = 'Riot Shield',
weight = 250,
consume = 0,
allowArmed = true,
server = {
export = 'gs_policeshield.riot_shield',
}
},
qb-core
If you want to add the items to qb-core. You can use the following configuration for your shared/items.lua:
ballistic_shield = { name = 'ballistic_shield', label = 'Ballistic Shield', weight = 1000, type = 'item', image = 'ballistic_shield.png', unique = true, useable = true, shouldClose = true, description = 'A ballistic shield' },
riot_shield = { name = 'riot_shield', label = 'Riot Shield', weight = 1000, type = 'item', image = 'riot_shield.png', unique = true, useable = true, shouldClose = true, description = 'A riot shield' },
Item image
An image for the ballistic_shield is provided with the files, we do not have a seperate image for the riot_shield.