TASK
TASK_VEHICLE_ESCORT
0x0FA6E4B75F302400
Jenkins: 0x9FDCB250
Signature
// TASK
void TASK_VEHICLE_ESCORT(Ped ped, Vehicle vehicle, Vehicle targetVehicle, int mode, float speed, int drivingStyle, float minDistance, int minHeightAboveTerrain, float noRoadsDistance)
Parameters
| Type | Name |
|---|---|
| Ped | ped |
| Vehicle | vehicle |
| Vehicle | targetVehicle |
| int | mode |
| float | speed |
| int | drivingStyle |
| float | minDistance |
| int | minHeightAboveTerrain |
| float | noRoadsDistance |
Return type void
Build 323
Documentation
Makes a ped follow the targetVehicle with <minDistance> in between. note: minDistance is ignored if drivingstyle is avoiding traffic, but Rushed is fine. Mode: The mode defines the relative position to the targetVehicle. The ped will try to position its vehicle there. -1 = behind 0 = ahead 1 = left 2 = right 3 = back left 4 = back right if the target is closer than noRoadsDistance, the driver will ignore pathing/roads and follow you directly. Driving Styles guide: gtaforums.com/topic/822314-guide-driving-styles/
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.