The Lab
VEHICLE native

GET_VEHICLE_BODY_HEALTH

returns float1 parambuild 1207

Returns the body health of vehicle.

Signature

C
float GET_VEHICLE_BODY_HEALTH(Vehicle vehicle); // 0x42113B857E33C16E b1207

Parameters

#NameType
1vehicleVehicle

Facts

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