Skip to main content

RAGE.Game.Ai.TaskUseNearestScenarioToCoord

Client-side function

C#​

Required Params​

  • ped: int
  • x: float
  • y: float
  • z: float
  • distance: float
  • duration: int

Return value​

  • void

Syntax​

RAGE.Game.Ai.TaskUseNearestScenarioToCoord(ped, x, y, z, distance, duration)

Example​

//todo