Skip to main content

GET_HEIGHT_OF_VEHICLE

Game.GetHeightOfVehicleHash0x5FAD09CA
Usage
local heightOfVehicle = Game.GetHeightOfVehicle(carIndex, posX, posY, posZ, isWorldPos, wantWorldResult)

Gets the height of the car.

Parameters

  • carIndexintegerint
  • posXnumberfloat
  • posYnumberfloat
  • posZnumberfloat
  • isWorldPosbooleanbool
  • wantWorldResultbooleanbool

Returns

  • heightOfVehiclenumberreturn value
Original declaration
// 0x5FAD09CA
float GET_HEIGHT_OF_VEHICLE(int carIndex, float posX, float posY, float posZ, bool isWorldPos, bool wantWorldResult);