Pathfind::isVehicleNodeIdValid: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Returns true if the id is non zero.
Returns true if the id is non zero.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">pathfind.isVehicleNodeIdValid(vehicleNodeId);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.pathfind.isVehicleNodeIdValid(vehicleNodeId);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''vehicleNodeId:''' int
*'''vehicleNodeId:''' int
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Pathfind_function_c}}
{{Pathfind_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:28, 6 May 2017

Returns true if the id is non zero.

Syntax

mp.game.pathfind.isVehicleNodeIdValid(vehicleNodeId);

Required Arguments

  • vehicleNodeId: int

Return value

  • Boolean

Example

// todo

See also

Template:Pathfind s function c