SET_VEHICLE_ENGINE_HEALTH
Sets the engine health of vehicle.
Signature
void SET_VEHICLE_ENGINE_HEALTH(Vehicle vehicle, float health); // 0x8BDC5B998B4654EF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | health | float |
Facts
| Name | SET_VEHICLE_ENGINE_HEALTH |
|---|---|
| Hash | 0x8BDC5B998B4654EF |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x8BDC5B998B4654EF, -- SET_VEHICLE_ENGINE_HEALTH
0, -- Vehicle vehicle
0.0 -- float health
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x8BDC5B998B4654EF", // SET_VEHICLE_ENGINE_HEALTH
0, // Vehicle vehicle
0.0 // float health
);Function.Call((Hash)0x8BDC5B998B4654EF, // SET_VEHICLE_ENGINE_HEALTH
0, // Vehicle vehicle
0.0f // float health
);Related VEHICLE natives
- SET_VEHICLE_ENGINE_CAN_DEGRADE
- SET_VEHICLE_ENGINE_ON
- SET_VEHICLE_BODY_HEALTH
- SET_VEHICLE_KEEP_ENGINE_ON_WHEN_ABANDONED
- SET_VEHICLE_PETROL_TANK_HEALTH
- SET_VEHICLE_EXCLUSIVE_DRIVER
- SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE
- SET_VEHICLE_EXTRA
- SET_DISABLE_VEHICLE_ENGINE_FIRES
- SET_FORCE_VEHICLE_ENGINE_DAMAGE_BY_BULLET
- SET_VEHICLE_AI_CAN_USE_EXCLUSIVE_SEATS
- SET_VEHICLE_ALLOW_HOMING_MISSLE_LOCKON
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.