Giter VIP home page Giter VIP logo

loaf_spikestrips's Introduction

loaf_spikestrips

FiveM Spikestrips, only bursts the tyres that are actually touching the spikestrip. YouTube Showcase: https://www.youtube.com/watch?v=D3UtNxFXnpU

Features

  • 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

Standalone, ESX & QBCore

The script works with ESX, QBCore or standalone without any framework.

Use with ESX

Installation

  • Run the esx.sql file
  • Rename from loaf_spikestrips-main to loaf_spikestrips
  • Drag the resource to your server resources folder
  • Add ensure loaf_spikestrips to your server.cfg

Configuration

  • Set Config.Framework to "esx"
  • Modify FrameworkFeatures to your liking.

esx_policejob compatibility

Visit this page for a guide on how to use the resource together with esx_policejob

Use with QBCore

Installation

["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 to loaf_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

Configuration

  • Set Config.Framework to "qb"
  • Modify FrameworkFeatures to your liking.

qb-policejob compatibility

Visit this page for a guide on how to use the resource together with qb-policejob

Use standalone

Installation

  • Rename from loaf_spikestrips-main to loaf_spikestrips
  • Drag the resource to your server resources folder
  • Add ensure loaf_spikestrips to your server.cfg

Configuration

  • Set Config.Framework to "none"
  • Modify the police table in the server.lua file to change who is able to place spike strips.

Credits

  • @Jay ;)#6969 - helped with adding support for qb-core
  • @warxander - warmenu

loaf_spikestrips's People

Contributors

loaf-scripts avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.