AutoPilot
GPS-guided autonomous driving system using the TaskVehicleDriveToCoord native. Select a destination on the GTA V map and let the car drive itself.
Speed Modes
| Mode | Speed | Description |
|---|---|---|
| Eco | 100 km/h | Casual city driving |
| Sport | 150 km/h | Faster highway driving |
| Sport+ | 200 km/h | Maximum speed driving |
How It Works
- Open the AutoPilot tab in CarPlay
- Select a destination on the interactive GTA V map
- Choose a speed mode (Eco, Sport, Sport+)
- Configure driving style flags as needed
- Press start — the vehicle drives to the destination
- Real-time GPS shows remaining distance, turn direction, and street name
- AutoPilot stops automatically when within 50 meters of the destination
Navigation Overlay
During autopilot, a navigation overlay shows:
- Current street name
- Turn direction (left, right, straight)
- Remaining distance
- The overlay position is draggable and persists across sessions
Driving Style Flags
17 configurable flags that control how the autopilot drives:
| Flag | Description | Default |
|---|---|---|
| Stop for Cars | Stops before vehicles | false |
| Stop for Peds | Stops before pedestrians | false |
| Swerve Around Cars | Avoids vehicles | false |
| Steer Around Stationary Cars | Avoids empty vehicles | false |
| Steer Around Peds | Avoids pedestrians | false |
| Steer Around Objects | Avoids objects | false |
| Don't Steer Around Player Ped | Will not avoid player ped | false |
| Stop at Lights | Stops at traffic lights | false |
| Go Off Road When Avoiding | Allow off-road when avoiding | false |
| Drive Into Oncoming Traffic | Wrong way if lane is full | false |
| Drive in Reverse | Drives in reverse gear | false |
| Wander Fallback | Cruise randomly if pathfinding fails | false |
| Avoid Restricted Areas | Avoid restricted areas | false |
| Adjust Speed Based on Road | Follow road speed limit | false |
| Use Short Cut Links | Uses dirt roads/shortcuts | false |
| Change Lanes Around Obstructions | Changes lanes around obstacles | false |
| Avoid Highways | Avoid highways unless necessary | false |
Job Restriction
| Option | Default | Description |
|---|---|---|
Config.AutoPilotAllowedJobs | {} | Job whitelist (empty = everyone can use) |
lua
Config.AutoPilotAllowedJobs = { "police", "ambulance" }
Module Toggle
| Option | Default | Description |
|---|---|---|
Config.Modules.AutoPilot | true | Show autopilot module |
