IsVehicleEngineOnFire — FiveM Natives
0xEC69ADF931AAE0C3 · VEHICLE · all
Only ever used once in decompiled scripts: am_pi_menu: Returns true if the engine is on fire, or if the vehicle engine health is < 0 and it has been on fire. It sometimes doesn't return true when the vehicle engine has been on fire, and has since been fixed. I'm not really sure what the exact conditions are. This usually returns true even if there are no visible flames yet (engine health > 0). However if you monitor engine health you'll see that it starts decreasing as soon as this returns true.
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | Vehicle | The vehicle to check. |
Returns
BOOL