FiveM Spikestrips, only bursts the tyres that are actually touching the spikestrip. YouTube Showcase: https://www.youtube.com/watch?v=D3UtNxFXnpU
- Animation when laying down a spikestrip
- You can remove spikestrips
- Only the tyre that is touching the spikestrip will burst, unlike some other resources which bursts all tyres.
- Performance friendly, uses ~0.01ms
- Standalone, but has support for ESX and QBCore
The script works with ESX, QBCore or standalone without any framework.
- Run the esx.sql file
- Rename from
loaf_spikestrips-main
toloaf_spikestrips
- Drag the resource to your server resources folder
- Add
ensure loaf_spikestrips
to your server.cfg
- Set
Config.Framework
to"esx"
- Modify
FrameworkFeatures
to your liking.
Visit this page for a guide on how to use the resource together with esx_policejob
- Add the following code to your QBShared.Items file, located in qb-core/shared.lua:51 by default:
["spikestrip"] = {
["name"] = "spikestrip",
["label"] = "Spikestrip",
["weight"] = 25,
["type"] = "item",
["image"] = "spikestrip.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "A spikestrip"
},
- For the not WarMenu menu, you need qb-menu
- Rename from
loaf_spikestrips-main
toloaf_spikestrips
- Drag the resource to your server resources folder
- Add
ensure loaf_spikestrips
to your server.cfg - Move the spikestrip.png file to your qb-inventory/html/images folder
- Set
Config.Framework
to"qb"
- Modify
FrameworkFeatures
to your liking.
Visit this page for a guide on how to use the resource together with qb-policejob
- Rename from
loaf_spikestrips-main
toloaf_spikestrips
- Drag the resource to your server resources folder
- Add
ensure loaf_spikestrips
to your server.cfg
- Set
Config.Framework
to"none"
- Modify the
police
table in the server.lua file to change who is able to place spike strips.
@Jay ;)#6969
- helped with adding support for qb-core- @warxander - warmenu