Skip to main content

GET_RANDOM_CAR_NODE_INCLUDE_SWITCHED_OFF_NODES

Game.GetRandomCarNodeIncludeSwitchedOffNodesHash0x2D1A5F8C
Usage
local randomCarNodeIncludeSwitchedOffNodes, vecReturnX, vecReturnY, vecReturnZ, nodeId = Game.GetRandomCarNodeIncludeSwitchedOffNodes(x, y, z, radius, minLanes, avoidDeadEnds, avoidHighways)
Not described yet. Know what this native does? Add a description on GitHub.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • radiusnumberfloat
  • minLanesintegerint
  • avoidDeadEndsbooleanbool
  • avoidHighwaysbooleanbool

Returns

  • randomCarNodeIncludeSwitchedOffNodesbooleanreturn value
  • vecReturnXnumberVector3*
  • vecReturnYnumberVector3*
  • vecReturnZnumberVector3*
  • nodeIdintegerint*
Original declaration
// 0x2D1A5F8C
bool GET_RANDOM_CAR_NODE_INCLUDE_SWITCHED_OFF_NODES(float x, float y, float z, float radius, int minLanes, bool avoidDeadEnds, bool avoidHighways, Vector3* vecReturn, int* nodeId);