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

System::vmag

Материал из RAGE MP Wiki Archive

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