Parameters:- vehicle:
The vehicle to check.
Returns: Returns true when the engine of your vehicle is on fire. Returns false if it's not on fire.
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.