Pathfind::getIsSlowRoadFlag

From RAGE Multiplayer Wiki
Jump to: navigation, search

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