Skip to main content

GET_NEAREST_CABLE_CAR

Game.GetNearestCableCarHash0x7F3A0E22
Usage
local carIndex = Game.GetNearestCableCar(x, y, z, radius)

Gets the nearest cable car to a coord.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • radiusnumberfloat

Returns

  • carIndexintegerint*
Original declaration
// 0x7F3A0E22
void GET_NEAREST_CABLE_CAR(float x, float y, float z, float radius, int* carIndex);