Stinger Strip

This resource adds deployable spike strips (stingers). which can deployed and remove spike strips to disable vehicles.

Installation

1

Add Resource to Server

  1. Download the resource.

  2. Drop the resource folder into your server’s resources directory.

2

Install Dependencies

Follow the Installation guide for Orchid Bridge

3

Register Item in ox_inventory and add image

  1. Open ox_inventory/data/items.lua.

  2. Copy the contents of this resource’s item.lua file and paste them there.

This will add the Spike Strip item and associate its image.

Copy stinger_strip.png into your inventory image folder:

ox_inventory/web/images
4

Configure the Resource

5

Start the Resource

Finally, ensure the resource is loaded in your server.cfg:

ensure cfx-orchid-spikes

Configuration

The config.lua file defines how spike strips behave on your server.

Configuration Options Explained

  • Style Changes the appearance of text prompts. Use 'oxlib' for ox_lib’s styled interface, 'default' for plain, or 'online' for GTA Online style.

  • UseTarget If enabled, stingers are removed using ox_target. Otherwise, a simple text prompt appears.

  • Inventory

    • true → players will be able to use spikes as an inventory item

    • false → no inventory system; a context menu is shown instead.

  • MenuButton Key binding for opening the spike strip menu when no inventory system is used. Default is F5.

  • RequireJobPlace / RequireJobRemove Define whether only police can deploy or remove spike strips.

  • PoliceJobs List of job names that count as police. Add any custom jobs you use.

Last updated