Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Police Scripts

FiveM Realistic Spike Script preview

FiveM Realistic Spike Script

Toxic Scripts
Frameworks:
  • ESX
  • QBCore

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX, QBCore
File size
816.2 kB
Creator
Toxic Scripts
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Spike Script V2 by Toxic Scripts gives your police a spike strip system. It runs standalone or with ESX or QBCore (QBUS), depending on the config settings.

Features

  • Take the spike strips out of your vehicle trunk
  • Inventory item spikespack to equip spikes on ESX and QBCore
  • Collapsed spike pickup model, thanks to [DEV] Collapsible Spike Strip, Trunk Prop - Vehicle Parts - LCPDFR.com
  • Spike drop animation
  • Limit how many spikes a player can have active at a time
  • Deploy multiple spikes at once; the amount is set in settings.ini
  • Pick deployed spikes up from the ground (hold the key to pick up all spikes at once)
  • Spikes are placed correctly on inclines and uneven terrain
  • Spikes only affect cars driven by players, so NPC traffic does not jam up on them
  • Automatic spike clean-up
  • Vehicle whitelist to limit which vehicles carry spikes in their trunk
  • Locales, with a choice of display style (3D text, subtitle, help text or notification)
  • Job whitelist on ESX and QBCore (default jobs police and police2), identifier whitelist in standalone mode
  • OneSync compatible

Requirements

No framework required in standalone mode. For ESX or QBCore, enable Config.UseESX or Config.UseQBUS in config.lua.

Installation

  • Copy the spikescript folder into your resources folder and add ensure spikescript to your server.cfg.
  • Choose your framework, job names or identifier whitelist in config.lua.
  • Edit keys, locales, the vehicle whitelist and other options in settings.ini.
  • Optional inventory item: on QBCore add the spikespack item to qb-core/shared.lua; on ESX insert it into the items table (the README contains the exact lines and shop examples).
  • On ESX/QBCore, relog after starting the script or changing your job before testing.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • Origen Police
    • ESX
    • QBCore
    Not for your framework

    Origen Police (QBCore & ESX)

    Origen Network

    $23.00$16.10
  • CD Dispatch FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    CD Dispatch

    Codesign

    $20.00$14.00
  • Megaphone Mod (Vehicle & Handheld) FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Megaphone Mod (Vehicle & Handheld)

    ScriptsM

    $19.00$13.30
  • Advanced Police Job FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Advanced Police Job

    Wasabi Scripts

    $29.99$20.99
  • Prison
    • ESX
    • Standalone, QBCore, Qbox

    Prison all-in-one system

    rcore

    $32.00$22.40
  • Helicopter Camera FiveM resource preview
    • ESX
    • QBCore, Standalone

    Helicopter Camera

    Mads

    $12.00$8.40
  • 0R IDCard FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    0R IDCard

    0Resmon

    $20.00$14.00
  • Advanced Evidence System FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Advanced Evidence System

    Wasabi Scripts

    $20.00$14.00