AI Taxi System -Β QBCore Script / Addon
A performance-first, immersive AI taxi script with smart driving, automatic pickup, and clean entity management.
π Overview
DHTaxi is a lightweight, immersive AI taxi system designed for QBCore servers that want a simple, reliable, and realistic way for players to travel the map without relying on player-run taxi jobs.
This system allows players to summon an AI-driven taxi, automatically enter the vehicle, select a destination using a waypoint, and enjoy an intelligent NPC-driven ride β all with full cleanup and zero server strain.
This is NOT a bloated job system or a laggy AI script. DHTaxi was built from the ground up with:
β Clean AI tasking
β Smart GTA driving flags
β Automatic seat handling
β qb-smallresources lock override protection
β Full entity cleanup
β Extremely low performance impact
Perfect for RP servers, casual servers, or any community that wants fast, immersive transportation without adding complexity.
β¨ Key Features
β AI Taxi Summoning: Players can call a taxi anytime using a simple command. The taxi spawns nearby and drives directly to the player.
β Automatic Player Entry: When the taxi arrives, the player is automatically seated in the back seat β no awkward door juggling or broken animations.
β Waypoint-Based Navigation: Players simply set a map waypoint and press **E** to begin the trip. The taxi handles the rest.
β Intelligent AI Driving: Uses carefully selected GTA driving flags for smooth, realistic driving behavior without crashes or erratic movement.
β Flat Fare System: A configurable flat-rate fare is charged automatically upon arrival. Clean server-side payment handling.
β Forced Unlock Protection: Includes a hard override to prevent qb-smallresources or other scripts from re-locking taxi doors.
β Automatic Cleanup: Taxi and driver despawn cleanly after drop-off or cancellation β no abandoned vehicles or NPC buildup.
β Cancel Anytime: Players can cancel their taxi instantly with a command if plans change.
β Ultra Lightweight: No constant loops, no heavy AI processing, and no performance spikes.
π For License Owners
You are allowed to:
β Edit, customize, and expand the script
β Modify client/server logic for your serverβs needs
You may NOT:
β Resell, redistribute, or repackage this script
β Share the script files with others
β Upload the script to GitHub or other repositories
β Sell modified versions
β Claim authorship of this script