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

Streaming::getIdealPlayerSwitchType

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

x1, y1, z1 -- Coords of your ped model
x2, y2, z2 -- Coords of the ped you want to switch to

Syntax

<syntaxhighlight lang="javascript">mp.game.streaming.getIdealPlayerSwitchType(x1, y1, z1, x2, y2, z2);</syntaxhighlight>

Required Arguments

  • x1: float
  • y1: float
  • z1: float
  • x2: float
  • y2: float
  • z2: float

Return value

  • int

Example

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

See also