Перейти к содержанию

Worldprobe::startShapeTestCapsule

Материал из RAGE MP Wiki Archive
Версия от 21:35, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Raycast from point to point, where the ray has a radius.

flags:
vehicles=10
peds =12

Iterating through flags yields many ped / vehicle/ object combinations

p9 = 7, but no idea what it does

Entity is an entity to ignore

Syntax

<syntaxhighlight lang="javascript">mp.game.worldprobe.startShapeTestCapsule(x1, y1, z1, x2, y2, z2, radius, flags, entity, p9);</syntaxhighlight>

Required Arguments

  • x1: float
  • y1: float
  • z1: float
  • x2: float
  • y2: float
  • z2: float
  • radius: float
  • flags: int
  • entity: Entity handle or object
  • p9: int

Return value

  • int

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also

Шаблон:Worldprobe s function c