๐จ NPC Hostage Transport Script (Highly Configurable + Optimized)
๐ฆ Key Features:
โ Interactive Main Ped โ Initiate the hostage transport by interacting with a main ped using OX Target.
โ Fully Automated Escort System โ
Spawns a vehicle with:
๐ฎโโ๏ธ Driver NPC
๐ซ Armed Guard NPC
๐ค Cuffed Hostage NPC
Vehicle drives to a drop-off location and delivers the hostage NPC.
Fully autonomous โ NPCs drive off and clean up after delivery.
โ Hostage Interaction Options (OX Target Menu):
๐ค Take Hostage
โ Release Hostage
๐ Kill Hostage
๐งโโ๏ธ Make Hostage Kneel
๐ Ziptie Hostage
๐ Put Hostage in Vehicle
๐งโโ๏ธ Take Hostage out of Vehicle
๐ซด Drag Hostage
๐ช Rob Hostage
โ Blacklisted Ped Support:
You can blacklist NPC models in the
config.lua.Blacklisted NPCs will not show any interaction options, preventing abuse or unwanted behavior.
โ Highly Configurable:
Toggle vehicle escort (
Config.EnableVehicle = true/false)Set all ped models, vehicle models, and spawn/drop-off coordinates in
config.lua.Adjustable cooldown to prevent spam.
โ Optimized for Performance:
Resmon usage:
0.00msidle, spikes only briefly during spawn/interaction.Clean threading, entity checks, and automatic cleanup logic.
๐ง Frameworks & Dependencies:
โ Works with ESX soon for QBcore
โ Uses OX Target and OX Lib
โ No bloated dependencies
๐ฅ Use Case:
Perfect for police RP, gang transport, criminal missions, or custom lore events. This system adds immersive realism and interactivity to any RP scenario.

