Skip to main content

Player::taskVehicleMissionTarget

Modes:
8= flees
1=drives around the ped
4=drives and stops near
7=follows
10=follows to the left
11=follows to the right
12 = follows behind
13=follows ahead
14=follows, stop when near

Syntax​

player.taskVehicleMissionTarget(vehicle, pedTarget, mode, maxSpeed, drivingStyle, minDistance, p7, p8);

Required Arguments​

  • vehicle: Vehicle handle or object
  • pedTarget: Ped handle or object
  • mode: int
  • maxSpeed: float
  • drivingStyle: int
  • minDistance: float
  • p7: float
  • p8: Boolean

Return value​

  • Undefined

Example​

// todo