Skip to main content

GET_RANDOM_CAR_BACK_BUMPER_IN_SPHERE

Game.GetRandomCarBackBumperInSphereHash0x2C37408C
Usage
local carIndex = Game.GetRandomCarBackBumperInSphere(x, y, z, radius, modelHashKey, searchFlags)

Gets a random vehicle in from the back bumber of a vehicle.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • radiusnumberfloat
  • modelHashKeyintegerint
  • searchFlagsintegerint

Returns

  • carIndexintegerint*
Original declaration
// 0x2C37408C
void GET_RANDOM_CAR_BACK_BUMPER_IN_SPHERE(float x, float y, float z, float radius, int modelHashKey, int searchFlags, int* carIndex);