ATTENTION: COMPATIBILITY
This script uses QBCore notifications.
To make this script standalone, remove all the QBCore.Functions.Notify in client/main.lua.
This script uses interact-sound.
To use the provided sounds, ensure to have that resource, and follow the interact-sound guide on how to add sounds.
Features
Vehicle Models
Only allow certain vehicle models to use autopilot.
Configure the table in config.lua.
Keymapping
Adds the ability for your community to change their keybinds to their desires.
Default: N to engage/disengage autopilot.
Default: UPARROW to increase/decrease speed.
Vehicle Body Health
Option to turn on/off.
Disengage autopilot if the vehicles body health is less than the configured percentage during the drive.
Different Autopilot Speeds
Three different speeds during autopilot. Configured through config.lua.
Smooth Braking
Slows down the vehicle at a reasonable phase when reaching your destination.
Optimization
0.00ms - Majority of the time.
0.01ms - During braking sequence & keymapping.
Showchase & Download
Video Showcase