Skip to main content

GET_CAR_SPEED

Game.GetCarSpeedHash0x16DD2D00
Usage
local pValue = Game.GetCarSpeed(carIndex)

Gets the speed an car is travelling in a forward direction (m/sec).

Parameters

  • carIndexintegerint

Returns

  • pValuenumberfloat*
Original declaration
// 0x16DD2D00
void GET_CAR_SPEED(int carIndex, float* pValue);