From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Makes a ped run away from another ped (fleeTarget).

distance = ped will flee this distance.
fleeTime = ped will flee for this amount of time, set to '-1' to flee forever


player.taskSmartFlee(fleeTarget, distance, fleeTime, p4, p5);

Required Arguments

  • fleeTarget: Ped handle or object
  • distance: float
  • fleeTime: unknown (to be checked)
  • p4: Boolean
  • p5: Boolean

Return value

  • Undefined


// todo

See also