MFPD-Spikes v2.0 — realistic spike strip mechanics for FiveM
Video Preview of MFPD-Spikes
Supports ox_target and qb-target with AUTO detection; includes custom audio, animations, and full multi-framework compatibility.
A compact, configurable resource that enables emergency vehicles to store, deploy and recover spike strips with synchronized tire bursting, localized labels, and a target-adapter API for custom integrations.
Features
Spike deployment & retrieval:
- Deploy using E (one line) or L (two lines).
- Store/retrieve from vehicle trunks (trunk-open check configurable).
- No target mode: works without any target resource (E/L keys only).
Target systems & adapter:
- Native support for ox_target and qb-target with AUTO detection.
- Custom target support via runtime API
- Editable adapter file:
config/custom_target.luawithADAPTER_MODE='auto'(qb/ox/generic mapping) and remove-by-name/handle helpers.
Multi-framework & permissions:
- Compatible with Standalone, ESX, ESX_NEW, QBCore, QBOX, and vRP.
- Centralized permission table with real-time job/group checks and duty awareness.
Localization & config:
- Built-in i18n (EN / PT-BR / FR / DE / ES) for labels and prompts.
- Flexible
Config.Target: use string ('AUTO'|'ox'|'qb'|'custom'|'none') or table ({ System, Distance, VehicleClasses, RequireTrunkOpen }). - Toggle on-screen prompts with
Config.ShowHelpText.
Reliability & realism:
- Synchronized tire bursting via server events, audio bank support, and automatic cleanup on resource stop/player disconnect.
- Defensive checks for target exports/state and safe unregistration on stop.
Requirements
- Framework: Standalone, ESX (legacy/modern), QBCore, QBOX, or vRP.
- Target (optional): ox_target or qb-target (AUTO). Custom targets supported via the provided adapter API/file; can run in none mode.
Installation
- Place the
MFPD-Spikesfolder in your serverresourcesdirectory. - Add
ensure MFPD-Spikesto yourserver.cfg. - Configure
config/config.lua(framework, allowed jobs, target, language, prompts). - (Optional) For third-party targets, edit
config/custom_target.luaand set your target resource + adapter mode.

