The Lab
VEHICLE native

GET_VEHICLE_ESTIMATED_MAX_SPEED

returns float1 parambuild 1207

Returns the estimated maximum speed of vehicle.

Signature

C
float GET_VEHICLE_ESTIMATED_MAX_SPEED(Vehicle vehicle); // 0xFE52F34491529F0B b1207

Parameters

#NameType
1vehicleVehicle

Facts

Facts about GET_VEHICLE_ESTIMATED_MAX_SPEED
Name
GET_VEHICLE_ESTIMATED_MAX_SPEED
Hash
0xFE52F34491529F0B
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xFE52F34491529F0B, -- GET_VEHICLE_ESTIMATED_MAX_SPEED
  0, -- Vehicle vehicle
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xFE52F34491529F0B", // GET_VEHICLE_ESTIMATED_MAX_SPEED
  0, // Vehicle vehicle
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0xFE52F34491529F0B, // GET_VEHICLE_ESTIMATED_MAX_SPEED
  0 // Vehicle vehicle
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.