Skip to content

A high-security convoy escort mission script for FiveM servers featuring dynamic routes, armed escorts, and immersive gameplay.

Notifications You must be signed in to change notification settings

Djonluc/DjonLuc-Evidence-Destruction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DjonStNix

FiveM Lua Multi-Framework Maintained Version 2.0


๐Ÿš” DjonLuc Evidence Destruction โ€” Elite Convoy System

A high-stakes convoy interception event for FiveM. Six armored vehicles. Lethal AI guards. One target.


๐Ÿ“‹ Table of Contents


๐ŸŽฏ Overview

A 6-vehicle armored convoy transports high-value evidence across the map. Players must intercept, disable, and loot the armored van โ€” while surviving an elite AI security detail trained to kill on sight.

The convoy features a reactive state machine (CALM โ†’ ALERT โ†’ DEFENSIVE) that dynamically adjusts AI behavior, formation speed, and engagement protocols based on player aggression.


๐Ÿš— Convoy Formation

The Elite Formation deploys 6 vehicles in a tight, synchronized column:

Position Vehicle Model Crew Role
๐Ÿ๏ธ Front Left Lead Bike policeb 1 Driver Point Scout
๐Ÿ๏ธ Front Right Lead Bike policeb 1 Driver Point Scout
๐Ÿš“ 8m behind Patrol Car police3 Driver + 1 Guard Forward Security
๐Ÿš™ 16m behind FBI SUV fbi Driver + 3 Guards Mid Security
๐Ÿš 26m behind Armored Van riot Driver + 1 Guard Primary Target
๐Ÿš™ 36m behind Rear Escort fbi2 Driver + 3 Guards Tail Protection

Total Personnel: ~14 armed SWAT operatives with 90-95% accuracy and 200 armor.


โœจ Features

๐Ÿ›ก๏ธ Elite AI System

  • Lethal Accuracy โ€” Guards hit with 90-95% precision
  • No Surrender โ€” AI will never flee, panic, or put hands up
  • Drive-By Combat โ€” Guards engage from moving vehicles
  • Dismount Protocol โ€” Guards exit and fight on foot when hostiles approach within 60m
  • Reactive Targeting โ€” 120m threat detection radius

๐Ÿšฆ State Machine

State Trigger Behavior
CALM Default Normal patrol speed, weapons holstered
ALERT 1+ hostile or <90% HP Speed +5 MPH, weapons drawn
DEFENSIVE 3+ hostiles or <50% HP Convoy halts, guards deploy on foot

โšก Formation Control

  • Hard Speed Lock โ€” Client-side thread prevents any escort from outrunning the leader
  • TaskVehicleEscort โ€” All vehicles maintain tight formation behind the leader
  • Synchronized Sirens โ€” Emergency lights active on all law vehicles
  • Aggressive Pathing โ€” Convoy ignores traffic lights and civilian vehicles

๐ŸŽ’ Loot System

  • Configurable loot tables (drugs, weapons, valuables)
  • ox_lib progress bar or fallback timer
  • qb-target / ox_target entity interaction support
  • Server-side validation with distance checks

๐ŸŒ Multi-Framework Support

  • QBCore (v1/v2) โ€” Full job & inventory integration
  • ESX (Legacy/Legacy+) โ€” Complete compatibility
  • QBox โ€” QBCore-based framework support
  • vRP (v1/v2) โ€” Group permission system
  • Standalone โ€” Works without any framework

๐Ÿš€ Installation

1. Clone the Repository

git clone https://github.com/Djonluc/DjonLuc-Evidence-Destruction.git

2. Add to Server Resources

Place the folder in your resources/[addons]/ directory.

3. Update server.cfg

ensure DjonLuc-Evidence-Destruction

4. Configure

Edit config.lua to set your spawn coordinates, route, AI difficulty, and loot tables.


โš™๏ธ Configuration

All settings are in config.lua with detailed comments:

Section What it Controls
Config.Route Start/destination coords, speed, driving style
Config.Formation Vehicle models for Bikes, Patrol, SUV, Van, Rear
Config.Peds Guard/driver models, weapons, accuracy, armor
Config.AI Combat movement, range, relationship groups
Config.Event Cooldown, start delay, loot distance, permissions
Config.Loot Item names, min/max quantities

Key Settings

Config.Route.DrivingStyle = 1074528293  -- Aggressive SWAT (ignores traffic)
Config.Route.DriveSpeed = 35.0          -- MPH

Config.Formation.Van.health = 12000     -- Armored van HP
Config.Peds.Guard.accuracy = 90         -- AI hit rate
Config.Peds.Guard.armor = 200           -- AI durability

๐ŸŽฎ Commands

Command Permission Description
/convoystart Admin Spawn and start the convoy
/convoystop Admin Destroy and clean up the convoy
/convoyspawnhere Admin Spawn a test van at your location
/convoydebug Admin Print entity diagnostics

๐Ÿ”ง Dependencies

Required

  • FiveM Server (Latest build)
  • Framework: QBCore, ESX, QBox, vRP, or Standalone

Optional (Enhanced Features)


๐Ÿ“ Project Structure

DjonLuc-Evidence-Destruction/
โ”œโ”€โ”€ config.lua              # All configuration settings
โ”œโ”€โ”€ fxmanifest.lua          # Resource manifest
โ”œโ”€โ”€ bridge/
โ”‚   โ”œโ”€โ”€ framework.lua       # Auto-detect QBCore/ESX/QBox/vRP
โ”‚   โ””โ”€โ”€ inventory.lua       # Inventory bridge (qb/ox/esx)
โ”œโ”€โ”€ server/
โ”‚   โ”œโ”€โ”€ main.lua            # State machine, sync, events
โ”‚   โ”œโ”€โ”€ spawn.lua           # Vehicle & ped spawning
โ”‚   โ””โ”€โ”€ cleanup.lua         # Entity cleanup routines
โ”œโ”€โ”€ client/
โ”‚   โ”œโ”€โ”€ main.lua            # Movement, escort, speed lock
โ”‚   โ”œโ”€โ”€ ai.lua              # Combat AI, targeting, groups
โ”‚   โ””โ”€โ”€ blips.lua           # Map blip management
โ””โ”€โ”€ README.md

๐Ÿ†˜ Support

Discord

Join the Community โ€” Support, updates, and feature requests.

Troubleshooting

  1. Run /convoydebug to check entity states
  2. Check the F8 console for [CONVOY] prefixed logs
  3. Verify your framework is detected with the startup print
  4. Ensure ox_lib is started before this resource

๐Ÿ‘จโ€๐Ÿ’ป Author

DjonStNix Official

DjonStNix โ€” Software Developer & Digital Creator

Platform Link
๐Ÿ™ GitHub github.com/Djonluc
๐Ÿ“ง Email [email protected]
๐ŸŽฌ YouTube @Djonluc
๐Ÿ“ธ Instagram @Djonluc
๐Ÿ’ฌ Discord Community Server

๐Ÿ“ License

This project is developed by DjonStNix for the FiveM community. Attribution is required when using or modifying this script.

ยฉ 2026 DjonStNix โ€” All rights reserved.


Built with precision by DjonStNix ยท Modern. Scalable. Intentional.

About

A high-security convoy escort mission script for FiveM servers featuring dynamic routes, armed escorts, and immersive gameplay.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages