Pathfind::getIsSlowRoadFlag: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
p0 = VEHICLE_NODE_ID<br><br>Returns true when the node is Offroad. Alleys, some dirt roads, and carparks return true.<br>Normal roads where plenty of Peds spawn will return false<br>==Syntax==<syntaxhighlight lang="javascript">pathfind.getIsSlowRoadFlag(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 true when the node is Offroad. Alleys, some dirt roads, and carparks return true.<br>Normal roads where plenty of Peds spawn will return false<br>
==Syntax==
<syntaxhighlight lang="javascript">mp.game.pathfind.getIsSlowRoadFlag(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 true when the node is Offroad. Alleys, some dirt roads, and carparks return true.
Normal roads where plenty of Peds spawn will return false

Syntax

mp.game.pathfind.getIsSlowRoadFlag(nodeID);

Required Arguments

  • nodeID: int

Return value

  • Boolean

Example

// todo

See also

Template:Pathfind s function c