{"hash":"0x90DBFFAC43B22081","ns":"VEHICLE","name":"GET_VEHICLE_ENGINE_HEALTH","slug":"GET_VEHICLE_ENGINE_HEALTH","official":true,"named":true,"luaName":"GetVehicleEngineHealth","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"vehicle","type":"Vehicle"}],"summary":"Returns 1000.0 if the function is unable to get the address of the specified vehicle or if it's not a vehicle.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns 1000.0 if the function is unable to get the address of the specified vehicle or if it's not a vehicle.\n\nMinimum: -4000\nMaximum: 1000\n\n-4000: Engine is destroyed\n0 and below: Engine catches fire and health rapidly declines\n300: Engine is smoking and losing functionality\n1000: Engine is perfect"}],"examples":[],"aliases":[],"enums":[],"related":["0x8BDC5B998B4654EF"],"build":"1207","gtaHash":"0xC45D23BAF168AAB8","gtaJhash":"0x8880038A","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/GET_VEHICLE_ENGINE_HEALTH","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/GET_VEHICLE_ENGINE_HEALTH.md","snippets":{"lua":"local retval = GetVehicleEngineHealth(vehicle)","luaInvoke":"local retval = Citizen.InvokeNative(0x90DBFFAC43B22081, vehicle, Citizen.ResultAsFloat())","js":"const retval = GetVehicleEngineHealth(vehicle);","jsInvoke":"const retval = Citizen.invokeNative('0x90DBFFAC43B22081', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0x90DBFFAC43B22081, vehicle);","notes":[]}}