SET_VEHICLE_ENGINE_HEALTH
1000 is max health Begins leaking gas at around 650 health -999.90002441406 appears to be minimum health, although nothing special occurs <- false statement ------------------------- Minimum: -4000 Maximum: 1000 -4000: Engine is destroyed 0 and below: Engine catches fire and health rapidly declines 300: Engine is smoking and losing functionality 1000: Engine is perfect
VEHICLEBuild 1207
Signature
lua
SetVehicleEngineHealth(GetVehiclePedIsIn(PlayerPedId(), false), 0.0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | — | |
| float | — |
Usage
lua
SetVehicleEngineHealth(GetVehiclePedIsIn(PlayerPedId(), false), 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
