The Lab
VEHICLE native

GET_VEHICLE_ENGINE_HEALTH

returns float1 parambuild 1207

Returns the engine health of vehicle.

Signature

C
float GET_VEHICLE_ENGINE_HEALTH(Vehicle vehicle); // 0x90DBFFAC43B22081 b1207

Parameters

#NameType
1vehicleVehicle

Facts

Facts about GET_VEHICLE_ENGINE_HEALTH
Name
GET_VEHICLE_ENGINE_HEALTH
Hash
0x90DBFFAC43B22081
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(0x90DBFFAC43B22081, -- GET_VEHICLE_ENGINE_HEALTH
  0, -- Vehicle vehicle
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x90DBFFAC43B22081", // GET_VEHICLE_ENGINE_HEALTH
  0, // Vehicle vehicle
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x90DBFFAC43B22081, // GET_VEHICLE_ENGINE_HEALTH
  0 // Vehicle vehicle
);
All VEHICLE natives

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