Fire::getClosestFirePos: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Returns TRUE if it found something. FALSE if not.
Returns TRUE if it found something. FALSE if not.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">fire.getClosestFirePos(outPosition, x, y, z);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.fire.getClosestFirePos(outPosition, x, y, z);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''outPosition:''' Vector3
*'''outPosition:''' Vector3
Line 11: Line 11:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Fire_function_c}}
{{Fire_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:06, 6 May 2017

Returns TRUE 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