Fire::getClosestFirePos: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
Line 1: Line 1:
Returns TRUE if it found something. FALSE if not.
Returns Vector3 if it found something. FALSE if not.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.fire.getClosestFirePos(outPosition, x, y, z);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.fire.getClosestFirePos(outPosition, x, y, z);</syntaxhighlight>

Latest revision as of 13:01, 6 July 2018

Returns Vector3 if it found something. FALSE if not.

Syntax

mp.game.fire.getClosestFirePos(outPosition, x, y, z);

Required Arguments

  • outPosition: Vector3
  • x: float
  • y: float
  • z: float

Return value

  • Vector3

Example

// todo

See also

Template:Fire s function c