Pathfind::getSupportsGpsRouteFlag: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
p0 = VEHICLE_NODE_ID<br><br>Returns false for nodes that aren't used for GPS routes.<br>Example:<br>Nodes in Fort Zancudo and LSIA are false==Syntax==<syntaxhighlight lang="javascript">pathfind.getSupportsGpsRouteFlag(nodeID);</syntaxhighlight>=== Required Arguments ===*'''nodeID:''' int===Return value===*'''Boolean'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Pathfind_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
p0 = VEHICLE_NODE_ID<br><br>Returns false for nodes that aren't used for GPS routes.<br>Example:<br>Nodes in Fort Zancudo and LSIA are false
==Syntax==
<syntaxhighlight lang="javascript">mp.game.pathfind.getSupportsGpsRouteFlag(nodeID);</syntaxhighlight>
=== Required Arguments ===
*'''nodeID:''' int
===Return value===
*'''Boolean'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Pathfind_s_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

Latest revision as of 21:28, 6 May 2017

p0 = VEHICLE_NODE_ID

Returns false for nodes that aren't used for GPS routes.
Example:
Nodes in Fort Zancudo and LSIA are false

Syntax

mp.game.pathfind.getSupportsGpsRouteFlag(nodeID);

Required Arguments

  • nodeID: int

Return value

  • Boolean

Example

// todo

See also

Template:Pathfind s function c