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

System::vmag

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

Calculates the magnitude of a vector.

Syntax

<syntaxhighlight lang="javascript">mp.game.system.vmag(p0, p1, p2);</syntaxhighlight>

Required Arguments

  • p0: float
  • p1: float
  • p2: float

Return value

  • float

Example

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

See also

Шаблон:System s function c